Daniel Shahaf
7ee9df915d
Merge remote-tracking branch 'origin/pr/158'
* origin/pr/158:
README: give the rationale for the at-end-of-.zshrc requirement
há 9 anos
Daniel Shahaf
85b3446897
README: make installation step 1 more accurate
Based on a patch by George Angelopoulos <george@usermod.net>.
Closes #149 .
há 9 anos
Daniel Shahaf
0c8c4b73f8
README: give the rationale for the at-end-of-.zshrc requirement
há 9 anos
George Angelopoulos
a723f504a5
README: make installation step 1 more accurate
You cannot download just the "script". You need the entire directory/repo.
há 10 anos
nicoulaj
3dc5741900
Merge pull request #140 from randomize/pr_fix_issue_#77
Pr fix issue #77
há 10 anos
nicoulaj
10391d025a
Merge pull request #134 from sonnym/enable_quick_history_substitution_highlighting
highlight ^old^new pattern
há 10 anos
nicoulaj
443908b9a2
Merge pull request #142 from jcassee/master
Add 'line' highlighter for the whole buffer
há 10 anos
nicoulaj
eb9870f4db
Merge pull request #143 from vincentbernat/fix/yank-pop
zle: don't override yank/yank-pop
há 10 anos
Vincent Bernat
74a183447d
zle: don't override yank/yank-pop
`yank-pop` relies on the fact that the last zle command is `yank` or
`yank-pop` to work correctly. Rewriting them prevents this check to work
correctly breaking `yank-pop`.
This fix just disallow overriding of those two zle commands. As a
side-effect, syntax highlighting will not happen when using.
This fixes #99 .
há 10 anos
Joost Cassee
d7d4dff1c8
Add 'line' highlighter for the whole buffer
há 10 anos
Randy
7edd08156e
Chaned main highlighter alorithm to resolve issue #77
há 10 anos
Randy
e8cc271314
Resolves slow performance in brackets highlighter
há 10 anos
Julien Nicoulaud
5320f1e18d
Merge pull request #135 from arcan1s/patch-1
Update README.md
há 10 anos
Evgeniy Alexeev
dcb5da9457
Update README.md
Edited links to Archlinux packages (the link to `zsh-syntax-highlighting-git` is out-of-date, and `zsh-syntax-highlighting` is now available in [community])
há 10 anos
Julien Nicoulaud
c83e266888
#110 : Now using :A modifier, bump zsh version requirement
há 10 anos
Julien Nicoulaud
072c064d2a
Merge pull request #110 from xaocon/master
small change to find highlighting directory better
há 10 anos
sonnym
04f9c8884f
highlight ^old^new pattern
by extending the already in place mechanism of checking for the first
histchar to check for the second as well
há 10 anos
Julien Nicoulaud
f289a9f8e7
Merge pull request #125 from acatton/fix-121
Fix #121 : sudo syntax highlighting incorrectly
há 11 anos
Julien Nicoulaud
8ac964186d
Merge pull request #131 from MarkLodato/array-assignments
Properly highlight array assignments
há 11 anos
Julien Nicoulaud
ffce2a0b20
Merge pull request #133 from lucc/master
protect alias expansion from interpreting aliases as options
há 11 anos
Julien Nicoulaud
63a720af9b
Merge pull request #128 from knu/patch-1
Do not leak a variable: cdpath_dir.
há 11 anos
Lucas Hoffmann
784a5dc35b
protect alias expansion from interpreting aliases as options
If one defines aliases like `++` the alias builtin tries to interprete these
as options so they have to be protected like this
alias -- ++=true
The same goes for a call to `alias` in order to expand the alias again.
há 11 anos
Mark Lodato
441f1a8aad
highlight array assignments of the form x[y]=...
This code is more lenient than bash. Examples:
$ x[y[]=
zsh: no matches found: x[y[]=
$ x[][]=
zsh: no matches found: x[][]=
The proper solution is to look inside the [...] and make sure that all
unescaped/unquoted square brackes are matched, but that is a heck of
a lot more complicated than this simple 8-character patch.
há 11 anos
Mark Lodato
c62cb54e9d
do not remove quotes when checking assignments
Zsh does not allow the variable name or the equals sign to be quoted or
escaped. The previous code incorrectly highlighted the following
examples as assignments:
$ 'x=y'
zsh: command not found: x=y
$ x\=y
zsh: command not found: x=y
$ "x"=y
zsh: command not found: x=y
$ \x=y
zsh: command not found: x=y
há 11 anos
Akinori MUSHA
0fc6b07509
Do not leak a variable: cdpath_dir.
Leaking a variable that holds a path in CDPATH could easily end up appearing on your prompt like `~cdpath_dir/subdir`.
há 11 anos
Evan Pitstick
dffbab0c92
a more simple and universal way (for zsh projects) to find highlight dir path
há 11 anos
Antoine Catton
3b3a58be91
Fix #121 : sudo syntax highlighting incorrectly
Parse sudo command line in order to highlight the options correctly
há 11 anos
Julien Nicoulaud
dbd27cb30a
#155 : document path_prefix/path_approx
há 11 anos
Julien Nicoulaud
08b80022ca
Merge pull request #123 from Shura0/master
Highlighted dollar variable ver. 2
há 11 anos
Shura
a7ee0597ef
Update main-highlighter.zsh
Comments added
há 11 anos
Julien Nicoulaud
3677b75731
Merge pull request #115 from Valodim/master
add separate path_prefix and path_approx hilights
há 11 anos
Julien Nicoulaud
3f2c76f393
Merge pull request #116 from jameskyle/feature/Issue-#92-silence-system-bell-in-osx
Issue #92 Eliminates system bell errors on osx.
há 11 anos
Julien Nicoulaud
6fcdb06b28
Merge pull request #122 from shockone/master
Update main-highlighter.zsh
há 11 anos
Владимир
57c01d19de
Update main-highlighter.zsh
Add support of CDPATH
há 11 anos
Shura
8abcf187f6
dollar variable and backslash codes highlighting
há 11 anos
James Kyle
93827ed84d
Issue #92 Eliminates system bell errors on osx.
Prepended an 'if' to remove error bell on osx systems.
há 11 anos
Vincent Breitmoser
228f5a6aad
add separate path_prefix and path_approx hilights
há 11 anos
Evan Pitstick
0fcc2629d2
Finds highlighters dir a little better
há 11 anos
Julien Nicoulaud
e5d8a50d36
Merge pull request #106 from cknadler/master
Fix relative links in various project readmes
há 11 anos
Chris Knadler
612e493cba
Fix relative links in highlighters readme
há 11 anos
Chris Knadler
408b100295
Fix relative link in main readme
há 11 anos
Julien Nicoulaud
a0862053f5
Merge pull request #100 from hchbaw/for-nicoulaj/pattern-local
make $pattern local to _zsh_highlight_pattern_highlighter #97
há 11 anos
Takeshi Banse
b4e667795c
make $pattern local to _zsh_highlight_pattern_highlighter #97
Signed-off-by: Takeshi Banse <takebi@laafc.net>
há 11 anos
Julien Nicoulaud
45194671af
Merge pull request #91 from xaocon/master
Added sudo as a precommand
há 12 anos
evan
19981ef9ea
added sudo as a precommand
há 12 anos
Jan M. Binder
732b7d6e65
Fix bracket highlighter
há 12 anos
Jan M. Binder
966eb851ca
Added quotes to suppress error
há 12 anos
Julien Nicoulaud
bb0d575942
Merge pull request #85 from jlporter/master
resolve issue #83
há 12 anos
Julien Nicoulaud
30c365e030
Add links to Arch Linux and Gentoo packages
(Anyone knowing packages for other systems or wanting to create it,
please get in touch!)
há 12 anos
Julien Nicoulaud
2c5c38144d
close #84
há 12 anos