dotfiles/.zshrc

40 lines
1005 B
Bash
Raw Normal View History

2022-07-29 20:51:50 -05:00
# The following lines were added by compinstall
zstyle :compinstall filename "$HOME/.zshrc"
2022-07-29 20:51:50 -05:00
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
2023-10-09 16:13:17 -05:00
HISTSIZE=10000
SAVEHIST=10000
2022-07-29 20:51:50 -05:00
bindkey -e
# End of lines configured by zsh-newuser-install
2023-10-09 16:13:17 -05:00
export PATH="/usr/local/ubin:$HOME/bin:$HOME/go/bin:$HOME/.cargo/bin:$HOME/anaconda3/bin:$PATH:/usr/local/cuda/bin"
export EDITOR="vim"
2022-07-29 20:51:50 -05:00
ZSH_CONFIG="$HOME/.config/zsh"
source "$ZSH_CONFIG/functions"
zsh_add_config keybinds.zsh
PURE_PROMPT_SYMBOL="$"
2022-07-31 22:59:10 -05:00
if [ "$USER" = "root" ]; then
PURE_PROMPT_SYMBOL="#"
fi
2022-07-29 20:51:50 -05:00
PROMPT_PURE_SSH_CONNECTION=YES
zsh_fpath_plugin sindresorhus/pure
2022-07-29 20:51:50 -05:00
autoload -U promptinit; promptinit
zstyle :prompt:pure:user color cyan
zstyle :prompt:pure:host color white
zstyle ':prompt:pure:prompt:*' color white
prompt pure
zsh_add_plugin zsh-users/zsh-syntax-highlighting
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
2022-07-29 20:51:50 -05:00
zsh_add_plugin zsh-users/zsh-autosuggestions
neofetch