This commit is contained in:
nebirhos 2012-03-25 17:24:26 +02:00
commit d4ea17111e
3 changed files with 6 additions and 6 deletions

View file

@ -1,11 +1,11 @@
#!/bin/zsh #!/bin/zsh
function omz_usage() { function omz_usage() {
echo "OH MY ZSH! command line tool. Available commands:" echo "Oh My Zsh command line tool. Available commands:"
echo " plugin NAME Enable plugin specified by NAME" echo " plugin NAME Enable plugin specified by NAME"
echo " theme Choose theme" echo " theme Choose theme"
echo " upgrade Upgrade OH MY ZSH!" echo " upgrade Upgrade Oh My Zsh"
echo " uninstall Remove OH MY ZSH! :(" echo " uninstall Remove Oh My Zsh :("
echo " help Show this help" echo " help Show this help"
} }

View file

@ -9,8 +9,8 @@ local -a _1st_arguments
_1st_arguments=( _1st_arguments=(
'plugin:Enable plugin' 'plugin:Enable plugin'
'theme:Choose theme' 'theme:Choose theme'
'upgrade:Upgrade OH MY ZSH!' 'upgrade:Upgrade Oh My Zsh'
'uninstall:Remove OH MY ZSH! :(' 'uninstall:Remove Oh My Zsh :('
) )
local expl local expl

View file

@ -1,7 +1,7 @@
#!/bin/zsh #!/bin/zsh
### Better prompt the user! ### Better prompt the user!
echo -n "Are you sure to completely remove OH MY ZSH?" echo -n "Are you sure to completely remove Oh My Zsh?"
read "a? [type 'yes' to continue] " read "a? [type 'yes' to continue] "
if [[ $a != "yes" ]]; then if [[ $a != "yes" ]]; then
return 0 return 0