Commit 027c9ee4 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #1942 from dongweiming/update-powify

Update powify for displayed parameter is not enough, and when there is no directory error
parents b93f3b9f 426f5f48
#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]' ;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment