Advertisement
Guest User

zshrc

a guest
Nov 12th, 2017
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. source /usr/share/zsh/plugins/title.zsh
  2. source ~/.zsh_aliases
  3. source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
  4. source /usr/share/zsh/plugins/sudo.plugin.zsh
  5. source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
  6.  
  7. bindkey "[1~" beginning-of-line
  8. bindkey "[4~" end-of-line
  9. bindkey "^[[2~" overwrite-mode
  10. bindkey "^[[3~" delete-char
  11. zmodload zsh/terminfo
  12. bindkey '^[[A' history-substring-search-up
  13. bindkey '^[[B' history-substring-search-down
  14.  
  15. #framebuffer colors
  16. if [ "$TERM" = "linux" ]; then
  17. /home/akari/bin/tty-colorize
  18. fi
  19.  
  20. function run() {
  21. number=$1
  22. shift
  23. for n in $(seq $number); do
  24. $@
  25. done
  26. }
  27.  
  28.  
  29. eval $(dircolors ~/.dircolors)
  30. export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=7'
  31. export EDITOR=nano
  32. setopt inc_append_history
  33. setopt promptsubst
  34. unsetopt equals
  35. PROMPT='%B%F{green}>%B%F{yellow}>%B%F{cyan}> %f'
  36. RPROMPT='%B%F{yellow}%~ %B%F{red}(。>﹏<。)'
  37.  
  38. # Lines configured by zsh-newuser-install
  39. HISTFILE=~/.histfile
  40. HISTSIZE=10000
  41. SAVEHIST=10000
  42. setopt autocd
  43. unsetopt beep
  44. bindkey -e
  45. # End of lines configured by zsh-newuser-install
  46. # The following lines were added by compinstall
  47. zstyle :compinstall filename '/home/akari/.zshrc'
  48.  
  49. autoload -Uz compinit
  50. compinit
  51. # End of lines added by compinstall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement