zsh #

zsh is a Unix shell.

My .zshrc configuration #

Below is my ~/.zshrc file, included using org babel.

ZSH_DISABLE_COMPFIX="true"

# Path to your oh-my-zsh installation.
export ZSH="/Users/clinton/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(git)

source $ZSH/oh-my-zsh.sh

# User configuration

export PATH="/opt/homebrew/bin:/usr/local/bin:$PATH"
alias ibrew='arch -x86_64 /usr/local/bin/brew'
alias python3='/opt/homebrew/bin/python3'
alias roam_build='/Users/clinton/.emacs.d/roam_build.sh'
alias wcorg='wc -w *.org | grep total'
alias wcmd='wc -w *.md | grep total'
alias mem='cd ~/roam && python3 memoirs_count.py && cd ~-'
alias subl='/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl'

eval "$(rbenv init -)" && export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
export PATH="$PATH:$GEM_HOME/bin"
export STARSHIP_CONFIG=~/.starship/config.toml
eval "$(/Users/clinton/miniforge3/bin/conda shell.zsh hook)"
eval "$(starship init zsh)"

[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
  • Starship, a nice shell prompt customisation package.