mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
🔖 Update config
This commit is contained in:
parent
99cc99c7d4
commit
394d56fa69
27 changed files with 478 additions and 398 deletions
18
scripts/change-shell.sh
Normal file
18
scripts/change-shell.sh
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue