add .zsh/ for any custom zsh stuff containing some git submodules; moved zsh-syntax-highlighting .zsh/ to not stay in oh-my-zsh dir anymore

This commit is contained in:
Johannes Findeisen 2015-06-27 01:09:04 +02:00
commit ed06dd9f0f
4 changed files with 13 additions and 1 deletions

2
.gitignore vendored
View file

@ -8,6 +8,8 @@
!.signature
!.vimrc
!.Xresources
!.zsh
!.zsh/**
!.zshrc
!README.md

4
.gitmodules vendored
View file

@ -1,3 +1,7 @@
[submodule "oh-my-zsh"]
path = .oh-my-zsh
url = https://github.com/hanez/oh-my-zsh.git
[submodule "zsh-syntax-highlighting"]
path = .zsh/zsh-syntax-highlighting
url = git@github.com:zsh-users/zsh-syntax-highlighting.git

@ -0,0 +1 @@
Subproject commit 3dc574190071ef59054f6d693132410b37aa3ae4

7
.zshrc
View file

@ -49,9 +49,14 @@ DISABLE_AUTO_UPDATE="true"
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(colored-man zsh-syntax-highlighting)
plugins=(colored-man)
# User configuration
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
if [ -e ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]
then
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi
# Extend my $PATH to $PATH/bin
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH:$HOME/bin