mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
12 lines
324 B
Bash
Executable file
12 lines
324 B
Bash
Executable file
#!/bin/sh
|
|
|
|
case "$1" in
|
|
"help"|"--help")
|
|
echo "bash Change default shell to bash"
|
|
echo "zsh Change default shell to zsh"
|
|
echo "fish Change default shell to fish"
|
|
;;
|
|
bash) chsh -s $(whitch bash) ;;
|
|
zsh) chsh -s $(whitch zsh) ;;
|
|
fish) chsh -s $(whitch fish) ;;
|
|
esac
|