dotties

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

.zshrc (671B)


      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}[%~]%f '
     12 
     13 setopt appendhistory autocd extendedglob nomatch notify
     14 setopt HIST_IGNORE_DUPS
     15 unsetopt beep
     16 bindkey -v
     17 
     18 # Plugins
     19 zstyle :compinstall filename '~/.zshrc'
     20 
     21 autoload -Uz compinit && compinit
     22 
     23 source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
     24 source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
     25 
     26 # Aliases
     27 [ -f "$XDG_CONFIG_HOME/aliases" ] && source "$XDG_CONFIG_HOME/aliases"