Refactor zsh4humans to foxshell - complete rebrand with new repository integration
This commit is contained in:
parent
0610f4aeab
commit
2b6ea4f5a3
7 changed files with 908 additions and 51 deletions
12
z4h.zsh
12
z4h.zsh
|
@ -137,16 +137,16 @@ if '[' '-n' "${ZSH_VERSION-}" ']'; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if '[' '-n' "${Z4H-}" ']' &&
|
||||
'[' "${Z4H_URL-}" '=' 'https://raw.githubusercontent.com/romkatv/zsh4humans/v5' ']' &&
|
||||
'[' '-z' "${Z4H##/*}" '-a' '-r' "$Z4H"/zsh4humans/main.zsh ']'; then
|
||||
if '.' "$Z4H"/zsh4humans/main.zsh; then
|
||||
if '[' '-n' "${FOXSHELL-}" ']' &&
|
||||
'[' "${FOXSHELL_URL-}" '=' 'https://git.foxdale.tech/Arctic/foxshell/raw/branch/main' ']' &&
|
||||
'[' '-z' "${FOXSHELL##/*}" '-a' '-r' "$FOXSHELL"/foxshell/main.zsh ']'; then
|
||||
if '.' "$FOXSHELL"/foxshell/main.zsh; then
|
||||
'setopt' 'aliases'
|
||||
'return'
|
||||
fi
|
||||
'unset' '_z4h_bootstrap'
|
||||
'unset' '_foxshell_bootstrap'
|
||||
else
|
||||
_z4h_bootstrap='1'
|
||||
_foxshell_bootstrap='1'
|
||||
fi
|
||||
|
||||
if '[' '-n' "${_z4h_bootstrap-}" ']'; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue