Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update powify for displayed parameter is not enough, and when there i…

…s no directory error
  • Loading branch information...
commit 426f5f483925f5bd9d3f78fa03d6f7d9818bb288 1 parent 46d4606
@dongwm dongwm authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 plugins/powify/_powify
View
6 plugins/powify/_powify
@@ -1,7 +1,7 @@
#compdef powify
_powify_all_servers() {
- all_servers=(`ls $HOME/.pow/`)
+ all_servers=(`ls $HOME/.pow/ 2>/dev/null`)
}
local -a all_servers
@@ -30,7 +30,7 @@ fi
case "$words[1]" in
server)
- _values \
+ _values , \
'install[install pow server]' \
'reinstall[reinstall pow server]' \
'update[update pow server]' \
@@ -45,7 +45,7 @@ case "$words[1]" in
'config[print the current server configuration]' \
'logs[tails the pow server logs]' ;;
utils)
- _values \
+ _values , \
'install[install powify.dev server management tool]' \
'reinstall[reinstall powify.dev server management tool]' \
'uninstall[uninstall powify.dev server management tool]' ;;
Please sign in to comment.
Something went wrong with that request. Please try again.