Merge branch 'zshfish' into dev
This commit is contained in:
commit
6b4977e52a
@ -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