Skip to content

Instantly share code, notes, and snippets.

@JustBarnt
Last active March 15, 2024 20:48
Show Gist options
  • Save JustBarnt/1a57cd8cf20172425deef48d6f1a1f12 to your computer and use it in GitHub Desktop.
Save JustBarnt/1a57cd8cf20172425deef48d6f1a1f12 to your computer and use it in GitHub Desktop.
My zsh ENV
typeset -U PATH path
export LANGUAGE=en_US.UTF-8
# ~/ Clean-up:
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
export ADOTDIR="${ZDOTDIR}/antigen"
if hash nvim 2>/dev/null; then
export EDITOR=nvim
export MANPAGER='nvim +Man!'
else
export EDITOR=vim
fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
if [ -d "$HOME/.local" ] ; then
PATH="$HOME/.local:$HOME/.cache/pnpm:$PATH"
fi
export NVM_COMPLETION=true
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment