highlight support added to my.zsh

This commit is contained in:
Sameer Rahmani 2014-04-13 09:10:54 +04:30
parent 85b51e596e
commit 96d843c9ec
3 changed files with 10 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "zsh-syntax-highlighting"]
path = zsh-syntax-highlighting
url = git://github.com/zsh-users/zsh-syntax-highlighting.git

6
my.zsh
View File

@ -17,6 +17,9 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# -----------------------------------------------------------------------------
current_path=$(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)")
current_file=$current_path/$(basename -- "$0")
#[[ -z "$PS1" ]] && return
@ -55,3 +58,6 @@ theme=${THEME:-$myzsh/themes/lxsameer.zsh-theme}
project_path=${PROJECTS:-~/src}
cdpath=($project_path $cdpath)
source $current_path/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

@ -0,0 +1 @@
Subproject commit 5320f1e18d5782e29a6637937e37a3aecf9327bb