HISTFILE=~/.zsh_history HISTSIZE=10000 SAVEHIST=10000 setopt APPEND_HISTORY setopt EXTENDED_HISTORY setopt INC_APPEND_HISTORY setopt SHARE_HISTORY export EDITOR="nvim" export PASSWORD_STORE_CLIP_TIME=10 precmd () { echo -n -e "\a" } export PATH=$PATH:~/.local/bin # zstyle ':completion:*' menu select autoload -Uz vcs_info precmd() { vcs_info } zstyle ':vcs_info:git:*' formats '%b ' setopt PROMPT_SUBST PROMPT='%(?.%F{green}.%F{red})➜ %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f' source ~/.aliases # carapace autoload -U compinit && compinit export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional zstyle ':completion:*' menu select format $'\e[2;37mCompleting %d\e[m' source <(carapace _carapace) # Start ssh-agent if not already running if ! pgrep -u "$USER" ssh-agent > /dev/null; then ssh-agent > ~/.ssh/ssh-agent.env fi if [[ -f ~/.ssh/ssh-agent.env ]]; then . ~/.ssh/ssh-agent.env > /dev/null fi ssh-add -l &> /dev/null || ssh-add # Home and End Key Bindings bindkey "^[[H" beginning-of-line bindkey "^[[F" end-of-line eval "$(zoxide init zsh)"