mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Name fix
This commit is contained in:
parent
b326820004
commit
d4ea17111e
3 changed files with 6 additions and 6 deletions
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue