Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
426f5f48
Commit
426f5f48
authored
Jul 03, 2013
by
dongweiming
Browse files
Update powify for displayed parameter is not enough, and when there is no directory error
parent
46d4606e
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/powify/_powify
View file @
426f5f48
#compdef powify
#compdef powify
_powify_all_servers() {
_powify_all_servers() {
all_servers=(`ls $HOME/.pow/`)
all_servers=(`ls $HOME/.pow/
2>/dev/null
`)
}
}
local -a all_servers
local -a all_servers
...
@@ -30,7 +30,7 @@ fi
...
@@ -30,7 +30,7 @@ fi
case "$words[1]" in
case "$words[1]" in
server)
server)
_values \
_values
,
\
'install[install pow server]' \
'install[install pow server]' \
'reinstall[reinstall pow server]' \
'reinstall[reinstall pow server]' \
'update[update pow server]' \
'update[update pow server]' \
...
@@ -45,7 +45,7 @@ case "$words[1]" in
...
@@ -45,7 +45,7 @@ case "$words[1]" in
'config[print the current server configuration]' \
'config[print the current server configuration]' \
'logs[tails the pow server logs]' ;;
'logs[tails the pow server logs]' ;;
utils)
utils)
_values \
_values
,
\
'install[install powify.dev server management tool]' \
'install[install powify.dev server management tool]' \
'reinstall[reinstall powify.dev server management tool]' \
'reinstall[reinstall powify.dev server management tool]' \
'uninstall[uninstall powify.dev server management tool]' ;;
'uninstall[uninstall powify.dev server management tool]' ;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment