Last active
November 1, 2021 00:36
-
-
Save thiagosouza/4171a34ed064e12e1b929688315e4698 to your computer and use it in GitHub Desktop.
[Zsh] Zsh terminal setup and usage #terminal by @thiagosouza
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Zshell | |
#http://www.zsh.org/ | |
sudo apt-get install -y zsh | |
#post-install instructions | |
apt-cache show fzf | |
#debian info | |
cat /usr/share/doc/fzf/README.Debian | |
#make zsh the default shell | |
sudo chsh -s $(which zsh) | |
sudo chsh -s $(which zsh) vagrant #when you are in a vagrant machine | |
sudo chsh -s $(which zsh) $USER #user | |
#or | |
sudo chsh -s /bin/zsh | |
echo $SHELL #/bin/zsh | |
echo "source ~/.bash_aliases" >> ~/.zshrc #add personal aliases to zsh | |
echo "source /usr/share/doc/fzf/examples/key-bindings.zsh" >> ~/.zshrc | |
echo "source /usr/share/doc/fzf/examples/completion.zsh" >> ~/.zshrc | |
source ~/.zshrc | |
#macosx | |
brew install zsh zsh-completions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment