HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=1000000
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
  source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi

SSHAGENT=/usr/bin/ssh-agent
SSHAGENTARGS="-s"
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then
    eval `$SSHAGENT $SSHAGENTARGS`
    trap "kill $SSH_AGENT_PID" 0
fi

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/legrems/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/home/legrems/miniconda3/etc/profile.d/conda.sh" ]; then
        . "/home/legrems/miniconda3/etc/profile.d/conda.sh"
    else
        export PATH="/home/legrems/miniconda3/bin:$PATH"
    fi
fi
unset __conda_setup
#<<< conda initialize <<<

export PATH=$HOME/custom_commands:$PATH
export NB_MINIONS=4
export VAGRANT_TYPE='abacus-abahost'
export NB_HAPROXY=2
export NB_PROXMOXS=2
export VAGRANT_ABACUS_BOX="ubuntu/focal64"
export VISUAL=nvim
export EDITOR=nvim
export AUTOENV_ENV_FILENAME='.autoenv.zsh'
export AUTOENV_ENV_LEAVE_FILENAME='.autoenv_leave.zsh'
export AUTOENV_ENABLE_LEAVE='yes'
#export PS1='${SSH_TTY:+"%F{9}%n%f%F{7}@%f%F{3}%m%F "}%F{4}${_prompt_sorin_pwd}%(!. %B%F{1}#%f%b.)${editor_info[keymap]} '
# export PS1='%F{4}${_prompt_sorin_pwd}%(!. %B%F{1}#%f%b.)${editor_info[keymap]} '

# To remove the conda env on ps1, run:
# conda config --set changeps1 False

[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

eval $(thefuck --alias)

source ~/.autoenv/activate.sh
