From 82e5e3a49aa0fc8ed5cd3884fb3e7218655b43fb Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 11 Mar 2019 21:54:05 +0100 Subject: [PATCH] add default shell target --- .config/bootstrap/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/bootstrap/install.sh b/.config/bootstrap/install.sh index a2be8e5..64d443a 100644 --- a/.config/bootstrap/install.sh +++ b/.config/bootstrap/install.sh @@ -6,7 +6,7 @@ ### OPTIONS AND VARIABLES ### # unset our temp variables, just in case they were used for something else in shell -unset pkgfiles dotfilesrepo targetuser targetpassword targetdeployment quietmode aurhelper +unset pkgfiles dotfilesrepo targetuser targetpassword targetdeployment quietmode aurhelper loginshell while getopts ":a:r:p:u:U:f:F:hq" o; do case "${o}" in h) printf "Optional arguments for custom use:\\n -r: Dotfiles repository (local file or url)\\n -p: Dependencies and programs csv (local file or url)\\n -a: AUR helper (must have pacman-like syntax)\\n -h: Show this message\\n" && exit ;; @@ -22,6 +22,7 @@ esac done [ -z "$dotfilesrepo" ] && dotfilesrepo="https://gitlab.com/marty-oehme/dotfiles.git" [ -z "$pkgfiles" ] && pkgfiles="" [ -z "$aurhelper" ] && aurhelper="yay" +[ -z "$loginshell" ] && loginshell="/bin/zsh" ### FUNCTIONS ###