diff options
author | Robby Russell <robby@planetargon.com> | 2013-12-02 23:39:06 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-12-02 23:39:06 -0800 |
commit | 027c9ee4cd049c36eea2478fbb876cfac95d2e97 (patch) | |
tree | 95856a44362828d4138086502cecf7719c2515ff | |
parent | b93f3b9f5aab38e6fd11aef102a9b94bdc9f1914 (diff) | |
parent | 426f5f483925f5bd9d3f78fa03d6f7d9818bb288 (diff) | |
download | zsh-027c9ee4cd049c36eea2478fbb876cfac95d2e97.tar.gz zsh-027c9ee4cd049c36eea2478fbb876cfac95d2e97.tar.bz2 zsh-027c9ee4cd049c36eea2478fbb876cfac95d2e97.zip |
Merge pull request #1942 from dongweiming/update-powify
Update powify for displayed parameter is not enough, and when there is no directory error
-rw-r--r-- | plugins/powify/_powify | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/powify/_powify b/plugins/powify/_powify index d23c46513..9507f400e 100644 --- a/plugins/powify/_powify +++ b/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]' ;; |