.zshrc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
  15. # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  16. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  17. # Example format: plugins=(rails git textmate ruby lighthouse)
  18. # Add wisely, as too many plugins slow down shell startup.
  19. plugins=(
  20. git
  21. zsh-autosuggestions
  22. zsh-syntax-highlighting
  23. )
  24. source $ZSH/oh-my-zsh.sh
  25. # User configuration
  26. source ~/.aliases
  27. bindkey -v
  28. # Fuzzy Finder
  29. [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
  30. fzf-history-widget-accept() {
  31. fzf-history-widget
  32. zle accept-line
  33. }
  34. zle -N fzf-history-widget-accept
  35. bindkey '^X^R' fzf-history-widget-accept