Created
February 17, 2024 17:24
-
-
Save jensmeindertsma/f9a629f26d9578aec514aa0b15d6f54d to your computer and use it in GitHub Desktop.
Setting up Oh-My-Zsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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