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 for bundle in "zsh-users/zsh-completions" \ "editor@main" \ "history@main" \ "prompt@main" \ "utility@main" \ "completion@main" \ "zsh-users/zsh-syntax-highlighting" \ "jgogstad/zsh-mask" \ "Aloxaf/fzf-tab" ; 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) # --- aliases --- alias ls='exa --icons=auto' alias cat='bat --pager=never'