My Unix Terminal Setup
- Install
zshand dependencies.sudo apt install zsh curl # for Ubuntuor
brew install zsh curl # for MacOSThis is an alternative to the
bashshell that comes as default in many operating system. See this article for a comparison betweenbashandzsh. - Install
Oh My Zsh(see the official website).sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Oh My Zshis a customizable framework for easily managing configurations and plugins forzsh. - Install
zsh-autosuggestions(see the official repo)
First clone its repository intooh my zshdefault plugin directory with the following command.git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionsThen edit
~/.zshrc(thezshconfig file similar to~/.bashrcforbash) and addzsh-autosuggestionsto the list of plugins, e.g.plugins=( # other plugins... zsh-autosuggestions )If you re-launch your terminal, you should see history command hinting by now.
- Install
powerlevel10ktheme.- Install the recommended fonts for pretty icons (open the file and click “install”)
- Clone the repository with the following command
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k -
set
ZSH_THEME="powerlevel10k/powerlevel10k"in~/.zshrc. source ~/.zshrcand configure following the prompts.
powerlevel10khas massive performance improvement over the popularpowerlevel9ktheme.
Ta-da, there goes a beautiful and responsive terminal. Leave a comment about how you like / dislike about this setup.
Comments