This repository contains my personal Zsh configuration, based on the zensh setup featured on the Dreams of Autonomy YouTube channel.
Note
Before installing, make sure you have:
zshfzf
sudo apt install zsh
sudo apt install fzfsudo pacman -S zsh
sudo pacman -S fzfchsh -s $(which zsh)sudo apt install fonts-jetbrains-monozshAfter Logout and login zsh will be the default terminal.
Copy the contents of .zshrc from this repo or do the following:
- Clone this repository:
git clone https://github.com/notsoeazy/zshrc.git cd zshrc - Copy the
.zshrcfile to your home directory:cp ./.zshrc ~/ - Open a new terminal to initialize the setup.
- Run
p10k configureto customize the look and feel. - Copy your
.bash_historytozsh_history
- History Search
CTRL+R - Tab Completion
TAB - Go into Directory
ALT+C - Previews
cdcpmv
If you have custom settings in your old ~/.bashrc (e.g. for Ruby, Go, MIME types, etc.), move them into your Zsh config .zshrc. For example:
# Ruby
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init - zsh)"