diff --git a/tests/data/zsh-syntax-highlighting.zsh b/tests/data/zsh-syntax-highlighting.zsh index 98e45a3..e1c0df3 120000 --- a/tests/data/zsh-syntax-highlighting.zsh +++ b/tests/data/zsh-syntax-highlighting.zsh @@ -1 +1 @@ -/home/nicoulaj/projects/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh \ No newline at end of file +../../zsh-syntax-highlighting.zsh \ No newline at end of file diff --git a/tests/tests.zsh b/tests/tests.zsh index 0438862..79dc77d 100755 --- a/tests/tests.zsh +++ b/tests/tests.zsh @@ -12,5 +12,5 @@ source $(dirname $0)/../zsh-syntax-highlighting.zsh TIMEFMT="%*Es" for buffer in $(dirname $0)/data/*.zsh; do echo -n "${buffer:t:r}: " - time (BUFFER="`cat $buffer`" &&_zsh_highlight-zle-buffer) + time ( BUFFER="`cat $buffer`" && _zsh_highlight-zle-buffer ) done