mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
18 lines
360 B
Bash
18 lines
360 B
Bash
#!/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
|