update: clean code, fix typo
This commit is contained in:
1 parent
adc2d44a54
commit
5352b33a8c
1 file changed
+2
-2
@@ -3,7 +3,7 @@ ZAP_SCRIPT="$ZAP_DIR/zap.zsh"
|
|||||||
ZAP_BRANCH=release-v1
|
ZAP_BRANCH=release-v1
|
||||||
|
|
||||||
if [ ! -f $ZAP_SCRIPT ]; then
|
if [ ! -f $ZAP_SCRIPT ]; then
|
||||||
git clone -b "$ZAP_BRANCH" https://github.com/zap-zsh/zap.git "$ZAP_DIR" &> /dev/null || { echo "❌ Failed to install Zap" && return 2 }
|
git clone -b "$ZAP_BRANCH" https://github.com/zap-zsh/zap.git "$ZAP_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source "$ZAP_SCRIPT"
|
source "$ZAP_SCRIPT"
|
||||||
@@ -16,9 +16,9 @@ repos=(
|
|||||||
hlissner/zsh-autopair
|
hlissner/zsh-autopair
|
||||||
wintermi/zsh-brew
|
wintermi/zsh-brew
|
||||||
wintermi/zsh-lsd
|
wintermi/zsh-lsd
|
||||||
|
wintermi/zsh-fnm
|
||||||
zap-zsh/supercharge
|
zap-zsh/supercharge
|
||||||
zap-zsh/fzf
|
zap-zsh/fzf
|
||||||
/wintermi/zsh-fnm
|
|
||||||
# local plugins
|
# local plugins
|
||||||
"$ZDOTDIR/aliases.zsh"
|
"$ZDOTDIR/aliases.zsh"
|
||||||
"$ZDOTDIR/exports.zsh"
|
"$ZDOTDIR/exports.zsh"
|
||||||
|
|||||||
Reference in new issue
Block a user