fix: fix
This commit is contained in:
+1
-1
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user