.zshrc 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. source /usr/share/fzf/completion.zsh
  27. source /usr/share/fzf/key-bindings.zsh
  28. fzf-history-widget-accept() {
  29. fzf-history-widget
  30. zle accept-line
  31. }
  32. zle -N fzf-history-widget-accept
  33. bindkey '^X^R' fzf-history-widget-accept
  34. source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
  35. source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
  36. ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)