fix: fix
This commit is contained in:
parent
f85d049cbd
commit
113c023b3c
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user