highlight support added to my.zsh
This commit is contained in:
parent
85b51e596e
commit
96d843c9ec
|
@ -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
6
my.zsh
|
@ -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
|
Loading…
Reference in New Issue