Skip to content

Unix CLI

Shell: Zsh

Zsh is a shell for Unix.

Configuration file: .zshrc.

Resources:

Syntax Highlighting

Zsh-syntax-highlighting brings syntax highlighting to Zsh. Known commands and aliases are green, unknown are red.

Vi Mode

I use vi mode to bring vim keybindings to Zsh. To improve the experience, I also added vim keybindings to the tab complete menu, changed the cursor shape for different modes, and mapped jk to exit insert mode.

Software

HomeBrew is an easy-to-use package manager with a large and up-to-date library. I use it in my installation script because it works on MacOS and any Linux distribution.

Installation script: run_install-unix.sh.tmpl.

Resources:

Bat

Bat is an alternative to cat with syntax highlighting and Git integration.

Bpytop

Bpytop is a detailed and aesthetic CLI resource monitor.

Configuration file: .config/bpytop/bpytop.conf.

Dust

Dust is an alternative to du that is more intuitive, visualizing disk usage.

Fd

Fd is an alternative to find that is faster and more intuitive.

Ripgrep

Ripgrep is an alternative to grep that is faster and respects your gitignore.


Last update: December 14, 2022