Commit 18d75d49 authored by Murukesh Mohanan's avatar Murukesh Mohanan

add zsh syntax highlighting as submodule

parent a094acb7
[[ -f ~/devel/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] && source ~/devel/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
[[ -f /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found
case $(systemd-detect-virt) in case $(systemd-detect-virt) in
none) none)
;; ;;
......
...@@ -4,6 +4,7 @@ alias pacu='pacaur -Syu' ...@@ -4,6 +4,7 @@ alias pacu='pacaur -Syu'
alias pacr='pacaur -Rs' alias pacr='pacaur -Rs'
alias pacl='pacaur -Ql' alias pacl='pacaur -Ql'
[[ -f ~/devel/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] && source ~/devel/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh [[ -f /usr/share/doc/pkgfile/command-not-found.zsh ]] &&
[[ -f /usr/share/doc/pkgfile/command-not-found.zsh ]] && source /usr/share/doc/pkgfile/command-not-found.zsh source /usr/share/doc/pkgfile/command-not-found.zsh
[[ -n $DISPLAY ]] && synclient TapButton1=1 TapButton2=3 TapButton3=2 CircularScrolling=1 [[ -n $DISPLAY && -z $SSH_CONNECTION ]] &&
synclient TapButton1=1 TapButton2=3 TapButton3=2 CircularScrolling=1
[[ -f ~/devel/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] && source ~/devel/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
[[ -f /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found [[ -f /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found
...@@ -4,6 +4,7 @@ alias pacu='pacaur -Syu' ...@@ -4,6 +4,7 @@ alias pacu='pacaur -Syu'
alias pacr='pacaur -Rs' alias pacr='pacaur -Rs'
alias pacl='pacaur -Ql' alias pacl='pacaur -Ql'
[[ -f ~/devel/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] && source ~/devel/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh [[ -f /usr/share/doc/pkgfile/command-not-found.zsh ]] &&
[[ -f /usr/share/doc/pkgfile/command-not-found.zsh ]] && source /usr/share/doc/pkgfile/command-not-found.zsh source /usr/share/doc/pkgfile/command-not-found.zsh
[[ -n $DISPLAY ]] && synclient TapButton1=1 TapButton2=3 TapButton3=2 CircularScrolling=1 [[ -n $DISPLAY && -z $SSH_CONNECTION ]] &&
synclient TapButton1=1 TapButton2=3 TapButton3=2 CircularScrolling=1
[[ -f ~/devel/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] && source ~/devel/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh [[ -f /etc/zsh_command_not_found ]] &&
[[ -f /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found source /etc/zsh_command_not_found
case $(systemd-detect-virt) in case $(systemd-detect-virt) in
none) none)
;; ;;
......
[submodule ".vim"] [submodule ".vim"]
path = .vim path = .vim
url = https://git.cse.iitb.ac.in/murukesh/vimrc.git url = https://git.cse.iitb.ac.in/murukesh/vimrc.git
[submodule ".zsh/zsh-syntax-highlighting"]
path = .zsh/zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting.git
Subproject commit a8afbdf2f548b6782d2a33d40c6d72464e23beee
...@@ -158,7 +158,7 @@ function _pip_completion { ...@@ -158,7 +158,7 @@ function _pip_completion {
compctl -K _pip_completion pip compctl -K _pip_completion pip
# pip zsh completion end # pip zsh completion end
if [[ $COLORTERM = gnome-terminal ]] if [[ -n $COLORTERM ]]
then then
case $TERM in case $TERM in
xterm*) xterm*)
...@@ -178,4 +178,7 @@ autoload -U edit-command-line ...@@ -178,4 +178,7 @@ autoload -U edit-command-line
zle -N edit-command-line zle -N edit-command-line
bindkey -M vicmd v edit-command-line bindkey -M vicmd v edit-command-line
[[ -f $HOME/.conflocal/$CONFLOCAL/.zshrc ]] && . "$HOME/.conflocal/$CONFLOCAL/.zshrc" [[ -f $HOME/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] &&
. "$HOME/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
[[ -f $HOME/.conflocal/$CONFLOCAL/.zshrc ]] &&
. "$HOME/.conflocal/$CONFLOCAL/.zshrc"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment