# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt autocd extendedglob nomatch notify
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/sdf/udd/n/nickca/.zshrc'

autoload -Uz compinit
compinit
# End of lines added by compinstall
# Menu style completion
zstyle ':completion:*' menu select
    # Aliases
alias vi=vim
alias ls=exa
alias tin='tin -A'

# Env variables
EDITOR=vim
PAGER=most
NNTPSERVER=news.eternal-september.org

# Custom prompt
# cyan username
PROMPT='%F{cyan}%n%f'
# @ white
PROMPT+='%B%F{white}@%f%b'
# reverse cyan host
PROMPT+='%S%F{cyan}%M%f%s'
# white :
PROMPT+='%B%F{white}:%f%b'
# tty line
PROMPT+='%F{cyan}%l%f'
PROMPT+=' '
# white directory
PROMPT+='%F{white}%1~%f%b '
# % symbol
PROMPT+='%#   '
# right prompt: 12 hour time/TZ in yellow
RPROMPT='[%F{yellow}%@ %D{%Z}%f] '
# exit code of previous cmd in green or red
RPROMPT+='%(?.%F{green}√.%F{red}?%?)%f'