.zshrc 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. # If you come from bash you might have to change your $PATH.
  2. # export PATH=$HOME/bin:/usr/local/bin:$PATH
  3. # Path to your oh-my-zsh installation.
  4. export ZSH=/home/frans/.oh-my-zsh
  5. # Set name of the theme to load. Optionally, if you set this to "random"
  6. # it'll load a random theme each time that oh-my-zsh is loaded.
  7. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
  8. ZSH_THEME="agnoster"
  9. # Set list of themes to load
  10. # Setting this variable when ZSH_THEME=random
  11. # cause zsh load theme from this variable instead of
  12. # looking in ~/.oh-my-zsh/themes/
  13. # An empty array have no effect
  14. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  15. # Uncomment the following line to use case-sensitive completion.
  16. # CASE_SENSITIVE="true"
  17. # Uncomment the following line to use hyphen-insensitive completion. Case
  18. # sensitive completion must be off. _ and - will be interchangeable.
  19. # HYPHEN_INSENSITIVE="true"
  20. # Uncomment the following line to disable bi-weekly auto-update checks.
  21. # DISABLE_AUTO_UPDATE="true"
  22. # Uncomment the following line to change how often to auto-update (in days).
  23. # export UPDATE_ZSH_DAYS=13
  24. # Uncomment the following line to disable colors in ls.
  25. # DISABLE_LS_COLORS="true"
  26. # Uncomment the following line to disable auto-setting terminal title.
  27. # DISABLE_AUTO_TITLE="true"
  28. # Uncomment the following line to enable command auto-correction.
  29. # ENABLE_CORRECTION="true"
  30. # Uncomment the following line to display red dots whilst waiting for completion.
  31. # COMPLETION_WAITING_DOTS="true"
  32. # Uncomment the following line if you want to disable marking untracked files
  33. # under VCS as dirty. This makes repository status check for large repositories
  34. # much, much faster.
  35. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  36. # Uncomment the following line if you want to change the command execution time
  37. # stamp shown in the history command output.
  38. # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  39. # HIST_STAMPS="mm/dd/yyyy"
  40. # Would you like to use another custom folder than $ZSH/custom?
  41. # ZSH_CUSTOM=/path/to/new-custom-folder
  42. # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  43. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  44. # Example format: plugins=(rails git textmate ruby lighthouse)
  45. # Add wisely, as too many plugins slow down shell startup.
  46. plugins=(
  47. git
  48. bundler
  49. rake
  50. rbenv
  51. ruby
  52. rails
  53. )
  54. source $ZSH/oh-my-zsh.sh
  55. # User configuration
  56. # export MANPATH="/usr/local/man:$MANPATH"
  57. # You may need to manually set your language environment
  58. # export LANG=en_US.UTF-8
  59. # Preferred editor for local and remote sessions
  60. # if [[ -n $SSH_CONNECTION ]]; then
  61. # export EDITOR='vim'
  62. # else
  63. # export EDITOR='mvim'
  64. # fi
  65. # Compilation flags
  66. # export ARCHFLAGS="-arch x86_64"
  67. # ssh
  68. # export SSH_KEY_PATH="~/.ssh/rsa_id"
  69. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  70. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  71. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  72. # For a full list of active aliases, run `alias`.
  73. #
  74. # Example aliases
  75. # alias zshconfig="mate ~/.zshrc"
  76. # alias ohmyzsh="mate ~/.oh-my-zsh"
  77. alias ccat="highlight --out-format=ansi"
  78. export MAKEFLAGS="-j$(nproc)"
  79. export EDITOR="vim"
  80. bindkey -v
  81. bindkey '^r' history-incremental-search-backward
  82. powerline-daemon -q
  83. . /usr/share/powerline/bindings/zsh/powerline.zsh