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