Skip to content

Commit

Permalink
Update \'zap.zsh\'
Browse files Browse the repository at this point in the history
  • Loading branch information
mamaraddio committed Jan 13, 2023
1 parent 8f211e9 commit 00f054a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zap.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,12 @@ function _zap_clean() {

function _zap_update() {
local _plugin _plug
echo -e " 0 ⚡ Zap"
echo " 0 ⚡ Zap"
for _plugin in ${ZAP_INSTALLED_PLUGINS[@]}; do
echo "$ZAP_INSTALLED_PLUGINS[(Ie)$_plugin] 🔌 $_plugin"
done
echo -n "\n🔌 Plugin Number | (a) All Plugins | (0) ⚡ Zap Itself: "
read _plugin
echo ""
[[ -z $_plugin ]] && return 0
[[ $_plugin -gt ${#ZAP_INSTALLED_PLUGINS[@]} ]] && echo "❌ Invalid option" && return 1
[[ $_plugin -eq 0 ]] && _pull "$ZAP_DIR"
Expand Down

0 comments on commit 00f054a

Please sign in to comment.