Added omz script stub

This commit is contained in:
nebirhos 2012-03-23 22:37:53 +01:00
commit 9c02f7513d
2 changed files with 42 additions and 0 deletions

40
bin/omz Executable file
View file

@ -0,0 +1,40 @@
#!/bin/zsh
STATUS=0
function omz_usage() {
echo "OH MY ZSH! command line tool"
echo " theme choose your theme"
echo " upgrade upgrade OH MY ZSH"
echo " uninstall remove OH MY ZSH :("
echo " help show this help"
}
case $1 in
theme )
zsh $ZSH/tools/theme_chooser.sh
;;
upgrade )
zsh $ZSH/tools/upgrade.sh
;;
uninstall )
echo "Are you sure?"
zsh $ZSH/tools/uninstall.sh
;;
help )
omz_usage
;;
* )
omz_usage
STATUS=1
;;
esac
exit $STATUS