From da07fc33081b183b5bf783e055e8a1ab151e18b9 Mon Sep 17 00:00:00 2001 From: John Simon Date: Thu, 7 Mar 2013 14:57:07 -0500 Subject: [PATCH] Restore --bash and --zsh flags --- install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install.sh b/install.sh index 498031c..fd10a6c 100755 --- a/install.sh +++ b/install.sh @@ -11,6 +11,9 @@ function help_msg { echo " -p, --prefix PATH Use PATH as prefix" echo " -Z, --zshshare PATH Use PATH as zsh share destination" echo + echo " -b, --bash Assume shell is bash" + echo " -z, --zsh Assume shell is zsh" + echo echo " -f, --force Ignore Python version check" echo " -n, --dry_run Only show installation paths, don't install anything" echo @@ -56,6 +59,10 @@ while true; do set -- "--local" "${@:2}" fi ;; + -b|--bash) + shell="bash" + shift + ;; -d|--destdir) if [ $# -gt 1 ]; then destdir=$2; shift 2 @@ -98,6 +105,10 @@ while true; do exit 1 fi ;; + -z|--zsh) + shell="zsh" + shift + ;; -Z|--zshshare) if [ $# -gt 1 ]; then zshsharedir=$2; shift 2