.zshrc 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # The following lines were added by compinstall
  2. zstyle ':completion:*' completer _expand _complete _ignored _approximate
  3. zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
  4. zstyle ':completion:*' menu select=1
  5. zstyle ':completion:*' select-prompt %SScrolling: at %p%s
  6. zstyle :compinstall filename '/home/user/.zshrc'
  7. autoload -Uz compinit
  8. compinit
  9. # End of lines added by compinstall
  10. # Lines configured by zsh-newuser-install
  11. HISTFILE=~/.zsh_history
  12. HISTSIZE=1000
  13. SAVEHIST=1000
  14. setopt beep extendedglob
  15. # End of lines configured by zsh-newuser-install
  16. CFGHOME="$HOME/.config"
  17. # binds
  18. bindkey "^[[1;5C" forward-word
  19. bindkey "^[[1;5D" backward-word
  20. # zplug
  21. source ~/.zplug/init.zsh
  22. source "$CFGHOME/zsh/zplug_plugins"
  23. source "$CFGHOME/zsh/plugin_config"
  24. export GREP_COLORS='mt=30;103'
  25. export MENUCONFIG_COLOR="mono"
  26. export EDITOR=nvim
  27. export MAKEFLAGS='-j16'
  28. # man colorscheme
  29. export LESS_TERMCAP_se=$'\e[0m'
  30. export LESS_TERMCAP_so=$'\e[46;30m'
  31. # linux tty colorscheme
  32. if tty | grep "/dev/tty[0-9]"; then
  33. tty-colorscheme-my-colors
  34. fi
  35. ~/.login_stuff
  36. source "$CFGHOME/zsh/ls_color"
  37. source "$CFGHOME/zsh/aliases"