Created
December 8, 2009 11:44
-
-
Save manavid/251581 to your computer and use it in GitHub Desktop.
Revisions
-
manavid revised this gist
Dec 8, 2009 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,14 @@ should be placed in ~/.zsh/functions/service : #compdef service if [ -z $1 ]; then echo "Usage: service <service_name>" else /usr/local/etc/rc.d/$1 $2 fi should be placed in ~/.zsh/functions/_service : #compdef service _files -W /usr/local/etc/rc.d/ usage: service<tab> will list all services under /usr/local/etc/rc.d usage: service nginx status -
manavid renamed this gist
Dec 8, 2009 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
manavid created this gist
Dec 8, 2009 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ should be placed to: ~/.zsh/functions/service : #compdef service if [ -z $1 ]; then echo "Usage: service <service_name>" else /usr/local/etc/rc.d/$1 $2 fi should be placed to: ~/.zsh/functions/_service : #compdef service _files -W /usr/local/etc/rc.d/ usage: service<tab> will list all services under /usr/local/etc/rc.d usage: service nginx status