hopefull6 ]

This commit is contained in:
2025-08-18 22:35:15 -06:00
parent 9783ae28c0
commit a93f0b7f46
+1 -1
View File
@@ -28,8 +28,8 @@ if [[ "$1" == "--help" || "$1" == "help" || "$1" == "-h" || "$1" == "h" ]]; then
exit
fi
# check for running shell and set rcFile accordingly
defShell=$(awk -F: -v user="$(whoami)" '$1 == user {print $NF}' /etc/passwd)
if [[ "$defShell" =~ zsh$ ]]; then
echo -e "\nSelected zsh shell automatically\n"
rcFile="$HOME/.zshrc"