This commit is contained in:
wyj
2024-06-07 04:35:16 -04:00
parent ce02d5357b
commit 6c3bef60c6
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -13,8 +13,7 @@ if [ -z "${zshfish}" ] ;then
else
echo "Please select your default shell."
echo
shell=$(echo "bash\n$zshfish" | gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) ")
sudo chsh -s $(which $shell) $(whoami)
shell=$(echo -e "bash\n$zshfish" | gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) ")
if [[ $zshfish == *"zsh"* ]]; then
echo ":: zsh selected"
source .install/zsh.sh