# Record each line as it gets issued # PROMPT_COMMAND='history -a' PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" # Huge history. Doesn't appear to slow things down, so why not? HISTSIZE=500000 SAVEHIST=500000 HISTFILESIZE=100000 # Avoid duplicate entries HISTCONTROL="erasedups:ignoreboth" # Don't record some commands export HISTIGNORE="&:[ ]*:exit:ls:bg:fg:history:clear" # Useful timestamp format HISTTIMEFORMAT='%F %T ' HISTFILE=~/.histfile setopt autocd extendedglob unsetopt beep bindkey -v # End of lines configured by zsh-newuser-install # The following lines were added by compinstall zstyle :compinstall filename '/home/pander/.zshrc' autoload -Uz compinit compinit # End of lines added by compinstall if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" fi typeset -A ZSH_HIGHLIGHT_STYLES ZSH_HIGHLIGHT_STYLES=(cursor bold) export EDITOR=nvim export PATH="$HOME/bin:/usr/local/bin:$PATH" [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh unalias rm #alias open='nautilus . &' export OPENAI_API_KEY=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