Permalink
Browse files

Move zsh syntax highlighting config out of zshrc.

  • Loading branch information...
1 parent 346d92e commit f46848cbbcd3cc9a9cca427907c3cae568576101 @twe4ked committed Mar 20, 2013
Showing with 10 additions and 14 deletions.
  1. +10 −0 zsh/zsh-syntax-highlighting.zsh
  2. +0 −14 zsh/zshrc
@@ -1 +1,11 @@
source ~/.fresh/build/vendor/zsh-syntax-highlighting.zsh
+
+ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
+ZSH_HIGHLIGHT_STYLES+=(
+ unknown-token 'bg=red,bold'
+ alias 'fg=magenta,bold'
+ single-quoted-argument 'fg=green,bold'
+ double-quoted-argument 'fg=green,bold'
+ builtin 'fg=yellow,bold'
+ function 'fg=yellow,bold'
+)
View
@@ -29,17 +29,3 @@ SAVEHIST=10000
# show time a command took if over 4 sec
export REPORTTIME=4
export TIMEFMT="%*Es total, %U user, %S system, %P cpu"
-
-ZSH_HIGHLIGHT_STYLES+=(
- unknown-token 'bg=red,bold'
- alias 'fg=magenta,bold'
- single-quoted-argument 'fg=green,bold'
- double-quoted-argument 'fg=green,bold'
- builtin 'fg=yellow,bold'
- function 'fg=yellow,bold'
-)
-ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
-
-# rbenv
-eval "$(rbenv init - | grep -v \^rbenv\ rehash)"
-gem() { rbenv exec gem "$@" && rbenv rehash && hash -r; }

0 comments on commit f46848c

Please sign in to comment.