Skip to content

Common CLI

I use chezmoi to manage my dotfiles and installation scripts across computers, OS's, and shells. Its installation instructions can be found in my dotfiles repository's README.

Shell

Aliases

I created aliases for my most frequently used commands, and tried to keep them consistent across operating systems.

Configuration files:

Functions

Various helper functions are used in my shell configuration and aliases files.

Configuration files:

Software

Fd

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

Git

See Contributing to a Git Repository and Git Commands for my notes on Git.

Configuration file: .gitconfig.

Git CLI

GitHub CLI brings GitHub functionality such as pull requests and issues to your terminal, but I mainly use it to login to GitHub.

Delta

Delta is a syntax-highting pager for git, diff, and grep output. It makes git diff so much easier to understand.

Lazygit

Lazygit is a TUI for git that makes viewing diffs and staging lines (in addition to files) easy.

Ripgrep

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

Lsd

Lsd is an alternative to ls that adds colors, icons, and much more.

Starship

Starship is a minimal, blazing-fast, and customizable prompt for any shell. Since it is compatible with all major operating systems, I can use the same configuration file across operating systems to achieve a consistent aesthetic.

Configuration file: .config/starship.toml.

Yazi

Yazi is a terminal file manager that can be used to view files and interactively navigate to directories.

Zoxide

Zoxide is an alternative to cd that can jump to frequently directories with just a few letters instead of their entire path.