jesus fucvk fix4es
This commit is contained in:
+1
-1
@@ -17,9 +17,9 @@ else
|
|||||||
installDir="$defaultInstallDir"
|
installDir="$defaultInstallDir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# i dont think i actually need this lmfaso
|
||||||
# detect shell and act accordingly
|
# detect shell and act accordingly
|
||||||
defShell=$(awk -F: -v user="$(whoami)" '$1 == user {print $NF}' /etc/passwd)
|
defShell=$(awk -F: -v user="$(whoami)" '$1 == user {print $NF}' /etc/passwd)
|
||||||
|
|
||||||
if [[ "$defShell" =~ zsh$ ]]; then
|
if [[ "$defShell" =~ zsh$ ]]; then
|
||||||
echo -e "\nSelected zsh shell automatically\n"
|
echo -e "\nSelected zsh shell automatically\n"
|
||||||
rcFile="$HOME/.zshrc"
|
rcFile="$HOME/.zshrc"
|
||||||
|
|||||||
Reference in New Issue
Block a user