Merge branch 'zshfish' into dev

This commit is contained in:
Yingjie Wang 2024-06-07 04:08:56 -04:00
commit 6b4977e52a

View File

@ -13,7 +13,7 @@ if [ -z "${zshfish}" ] ;then
else else
echo "Please select your default shell." echo "Please select your default shell."
echo echo
shell=$(echo "bash\n$zshfish" | gum choose --limit=1 -cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) ") shell=$(echo "bash\n$zshfish" | gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) ")
sudo chsh -s $(which $shell) $(whoami) sudo chsh -s $(which $shell) $(whoami)
if [[ $zshfish == *"zsh"* ]]; then if [[ $zshfish == *"zsh"* ]]; then
echo ":: zsh selected" echo ":: zsh selected"