add default shell target
This commit is contained in:
parent
2ead9a76c4
commit
82e5e3a49a
1 changed files with 2 additions and 1 deletions
|
|
@ -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 ###
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue