Skip to content

Instantly share code, notes, and snippets.

@ArjixWasTaken
Last active August 17, 2025 03:37
Show Gist options
  • Save ArjixWasTaken/adb60c2c61073129156047e8d755b5e0 to your computer and use it in GitHub Desktop.
Save ArjixWasTaken/adb60c2c61073129156047e8d755b5e0 to your computer and use it in GitHub Desktop.
My ZSH profile
export SHELL=$(which zsh)
export NVM_DIR="$HOME/.nvm"
source "$HOME/.profile"
if [[ ! -d "$HOME/.antigen" ]]; then
# automatically download antigen
git clone https://github.com/zsh-users/antigen.git "$HOME/.antigen"
fi
source "$HOME/.antigen/antigen.zsh"
# --- zsh plugins ---
antigen use belak/zsh-utils --branch=main
antigen bundle zsh-users/zsh-completions
for bundle in "editor@main" \
"history@main" \
"prompt@main" \
"utility@main" \
"completion@main" \
"zsh-users/zsh-syntax-highlighting" \
"jgogstad/zsh-mask"
; do
antigen bundle "$bundle"
done
antigen apply
# --- keybinds ---
bindkey '^H' backward-kill-word
bindkey '^[[3;5~' kill-word
# --- init ---
source <(oh-my-posh init zsh --config half-life)
source <(zoxide init zsh)
source <(git ignore completion zsh)
source "$NVM_DIR/nvm.sh"
# --- aliases ---
alias ls='exa --icons=auto'
alias cat='bat --pager=never'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment