Skip to content

Instantly share code, notes, and snippets.

@jensmeindertsma
Created February 17, 2024 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jensmeindertsma/f9a629f26d9578aec514aa0b15d6f54d to your computer and use it in GitHub Desktop.
Save jensmeindertsma/f9a629f26d9578aec514aa0b15d6f54d to your computer and use it in GitHub Desktop.
Setting up Oh-My-Zsh
export ZSH="$HOME/.oh-my-zsh"
## Make sure the cache directory exists so it can be written to even when cache gets wiped.
if [ ! -d "$HOME/.cache/zsh" ]; then
mkdir -p $HOME/.cache/zsh
fi
# --- Configure Oh-My-Zsh ---
ZSH_THEME="robbyrussell"
HISTFILE=$HOME/.cache/zsh/history
export ZSH_COMPDUMP="$HOME/.cache/zsh/zcompdump-$HOST-$ZSH_VERSION"
# --- Specify plugins ---
plugins=(git)
# --- Load Oh-My-Zsh ---
source $ZSH/oh-my-zsh.sh
# --- User configuration ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment