zsh
Updated: September 26, 2024
An highly customizable alternate shell instead of bash.
Table of Contents
Setup Zsh
chsh -s $(which zsh) # set zsh as default | oh-my-zsh will do this during install
Shortcuts
C + a # Move to beginning of line
C + e # Move to end of line
C + l # Clear screen
C + w # Delete word
C + u # Delete to beginning of line
C + k # Delete to end of line
C + y # Copy to clipboard
C + p # Paste from clipboard
C + r # Search
C + _ # Undo
Plugins
An even easier way to install is to just use git. Each plugin usually provides a link. Make sure it places it in the folder of your choosing. If left alone it will create and dump them into a directory call custom. Afterward, add name to plugins on .zshrc. Uninstalling just as easy. Just delete it’s directory.
git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions