.zshrc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. source ~/.profile
  2. # Path to your oh-my-zsh installation.
  3. export ZSH=/home/frans/.oh-my-zsh
  4. # Set name of the theme to load. Optionally, if you set this to "random"
  5. # it'll load a random theme each time that oh-my-zsh is loaded.
  6. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
  7. ZSH_THEME="michelebologna"
  8. # Uncomment the following line to display red dots whilst waiting for completion.
  9. COMPLETION_WAITING_DOTS="true"
  10. # Uncomment the following line if you want to disable marking untracked files
  11. # under VCS as dirty. This makes repository status check for large repositories
  12. # much, much faster.
  13. DISABLE_UNTRACKED_FILES_DIRTY="true"
  14. # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  15. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  16. # Example format: plugins=(rails git textmate ruby lighthouse)
  17. # Add wisely, as too many plugins slow down shell startup.
  18. plugins=(
  19. git
  20. )
  21. source $ZSH/oh-my-zsh.sh
  22. # User configuration
  23. source ~/.aliases
  24. bindkey -v
  25. # Fuzzy Finder
  26. FZF_PATH=/usr/share/doc/fzf/
  27. source $FZF_PATH/completion.zsh
  28. source $FZF_PATH/key-bindings.zsh
  29. fzf-history-widget-accept() {
  30. fzf-history-widget
  31. zle accept-line
  32. }
  33. zle -N fzf-history-widget-accept
  34. bindkey '^X^R' fzf-history-widget-accept
  35. source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
  36. source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
  37. ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)