# Source aliases and shortcuts source ~/.config/shell/aliasrc source ~/.config/shell/shortcutsrc # History file settings HISTSIZE=100000000 SAVEHIST=100000000 HISTFILE="$HOME/.cache/zsh/history" # Shell options bindkey -v export KEYTIMEOUT=1 setopt autocd stty stop undef setopt histappend # Prompt autoload -U colors && colors PS1="%B%{$fg[black]%}[%b%{$fg[yellow]%}%n%B%{$fg[black]%}-at-%b%{$fg[yellow]%}%M%B%{$fg[black]%}]%b%{$fg[red]%}%1~%{$reset_color%}$ " # Autocomplete Settings autoload -U compinit zstyle ":completion:*" menu select zmodload zsh/complist compinit _comp_options+=(globdots) # Vim keys in menu select bindkey -M menuselect 'h' vi-backward-char bindkey -M menuselect 'k' vi-up-line-or-history bindkey -M menuselect 'l' vi-forward-char bindkey -M menuselect 'j' vi-down-line-or-history source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null