dotties

My dotfiles
Log | Files | Refs

.zshrc (648B)


      1 # .zshrc
      2 
      3 # Fixes for the Home, End and Delete buttons
      4 bindkey "\e[H" beginning-of-line
      5 bindkey "\e[F" end-of-line
      6 bindkey "\e[3~" delete-char
      7 
      8 HISTFILE="$XDG_DATA_HOME/zsh/histfile"
      9 HISTSIZE=10000
     10 SAVEHIST=10000
     11 PROMPT='%F{yellow}[%1~]%f '
     12 
     13 setopt appendhistory autocd extendedglob nomatch notify
     14 unsetopt beep
     15 bindkey -v
     16 
     17 # Plugins
     18 zstyle :compinstall filename '~/.zshrc'
     19 
     20 autoload -Uz compinit && compinit
     21 
     22 source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
     23 source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
     24 
     25 # Aliases
     26 [ -f "$XDG_CONFIG_HOME/aliases" ] && source "$XDG_CONFIG_HOME/aliases"