Giridaran Manivannan
4f49c4a35f
docs: Update zplug install instruction
The latest version of zplug has deprecated the `nice` tag. The `defer` tag is the preferred method now.
7 years ago
Daniel Shahaf
b8fa1b9dc9
driver: Handle aliases that begin with a '+'
Merge remote-tracking branch 'upstream/pr/395'
* upstream/pr/395:
tests: Add a regression test for issue #392 (aliases beginning with a '+' are lost).
tests: Move some code in preparation for next commit. No functional change.
driver: Don't undefine aliases that begin with a '+', to workaround an upstream bug.
7 years ago
Daniel Shahaf
5efd062a4d
tests: Add a regression test for issue #392 (aliases beginning with a '+' are lost).
7 years ago
Daniel Shahaf
67be62107b
tests: Move some code in preparation for next commit. No functional change.
7 years ago
Daniel Shahaf
74949c2d91
driver: Don't undefine aliases that begin with a '+', to workaround an upstream bug.
Fixes #392 .
7 years ago
Daniel Shahaf
8d5afe47f7
driver: Be immune to 'alias' having been redefined.
7 years ago
Daniel Shahaf
76ea9e1df3
'main': Highlight possible history expansions in double-quoted strings.
7 years ago
Daniel Shahaf
50fbb5f76e
docs: Update Homebrew link.
The upstream repository has been split and renamed.
Fixes #391 .
7 years ago
Daniel Shahaf
2dce602727
driver: Be immune to weird aliases in the calling scope.
Fixes #390 .
7 years ago
Daniel Shahaf
9396ad5c5f
'main': Fix highlighting of comments followed by non-comments (on a subsequent line).
Merge remote-tracking branch 'upstream/pr/385'
* upstream/pr/385:
'main': Add regression test for previous commit.
'main': Fix bug: no start_pos=$end_pos in comment short path
Fixes #385 .
8 years ago
Daniel Shahaf
347cf0eb06
'main': Add regression test for previous commit.
8 years ago
Sebastian Gniazdowski
5625e30b87
'main': Fix bug: no start_pos=$end_pos in comment short path
8 years ago
Daniel Shahaf
fed37a90ac
'main': Fix a bug concerning command word with embedded colon-space sequences.
Such a command word would, if not valid, fall through to the `type -w` case,
where the output would be misparsed, consequently the forward-compatible [arg0]
style would be used.
8 years ago
Daniel Shahaf
626c034c68
Add FreeBSD port
8 years ago
Michael Kuhn
3d74aa47e4
Add Fedora package
8 years ago
Daniel Shahaf
5398949cb3
changelog: Update for changes pulled out of 0.5.x.
8 years ago
Daniel Shahaf
035d3eb095
Follow-up to 28d7056a7a06: Fix test expectations.
8 years ago
Daniel Shahaf
b7e277106b
README: Set alt="" attributes.
8 years ago
Daniel Shahaf
1495195eb5
README: Add a third image.
Also remove the existing image, thereby removing the filename expansion
example and the file-existence highlighting example.
8 years ago
Daniel Shahaf
50cbdbaebc
README: Add another image.
8 years ago
Daniel Shahaf
242481c279
README: Use a more minimal example iamge.
8 years ago
Daniel Shahaf
cd9ec14a65
README: Add before/after images
8 years ago
Daniel Shahaf
24096c2e4f
changelog: Update through 28d7056a7a
.
8 years ago
Daniel Shahaf
28d7056a7a
'main': Escape '!' within double-quoted strings.
8 years ago
Daniel Shahaf
1bdb88aee1
Post-branch version number bump.
8 years ago
Daniel Shahaf
d464d3857f
changelog: Write `arg0` entry.
8 years ago
Daniel Shahaf
f5c44ed7a2
changelog: Markup tweak.
8 years ago
Daniel Shahaf
2335986a39
changelog: Add the last few entries. One remains as a TODO.
8 years ago
Daniel Shahaf
e060a0a1c8
release.md: Record the specific command I used.
8 years ago
Daniel Shahaf
f3d0e141fd
changelog: Review.
8 years ago
Daniel Shahaf
3c90a673f6
changelog: Update through 0020f592c1
.
8 years ago
Daniel Shahaf
773d60c833
changelog: Update through d37c55c788
.
8 years ago
Daniel Shahaf
2dff6e54ed
changelog: Copyedit.
- Move an entry to another section.
- Fix commit hash width.
- Add missing punctuation.
8 years ago
Daniel Shahaf
0020f592c1
changelog: Update through cef49752fd
.
8 years ago
Daniel Shahaf
56e4c38ab4
changelog: Start 0.5.0 section. Update through bc7f8ea433
.
8 years ago
Daniel Shahaf
7d38d07255
'main': Followup to fdaeec45146b: Update comment.
That revision was itself a followup to 51614ca2c9
.
8 years ago
Daniel Shahaf
094329eb14
'main': Introduce style fallback for the command word.
Fixes #316 .
* danielsh/i316-v2:
'main': Enable fallback to the 'arg0' style.
'main': Set fallback style for the 'arg0' style.
8 years ago
Daniel Shahaf
bccc3dc269
'main': Enable fallback to the 'arg0' style.
8 years ago
Daniel Shahaf
b4537a972e
'main': Set fallback style for the 'arg0' style.
The fallback style name uses '_' in anticipation of a future auto-fallback
feature keyed on style names.
'arg0' was previously known as 'commandtypefromthefuture'.
8 years ago
Daniel Shahaf
2b303f01b6
dev tools: Automagically handle newlines (\n) in $BUFFER.
8 years ago
Daniel Shahaf
79198759b3
tests: Also test arguments to an anonymous function.
8 years ago
Daniel Shahaf
dd51b7bebe
Merge remote-tracking branch 'upstream/pr/374' into HEAD
* upstream/pr/374:
'main': Directly count spaces to skip, don't leverage proc_buf length
8 years ago
Sebastian Gniazdowski
15461e7d21
'main': Directly count spaces to skip, don't leverage proc_buf length
Main highlighter run on itself, on the optimized version:
- optimized (8 runs, 3 last noted):
1.1201650000
1.1074430000
1.1263810000
- unoptimized (8 runs, 3 last noted):
1.5746400000
1.5115250000
1.5155440000
Average difference: 0.415907
8 years ago
Daniel Shahaf
44ef6e38e5
'main': Highlight several more special (non-alphabetic) parameters.
8 years ago
Daniel Shahaf
4afe670f7a
'main': Highlight shell's PID ($$) inside double quotes.
8 years ago
Daniel Shahaf
c3913e0d8e
'main': Highlight command substitutions inside double quotes.
Part of issue #139 .
8 years ago
Daniel Shahaf
4fc35362ee
'main': Permit subshells to end at command position.
Fixes #344 .
8 years ago
Daniel Shahaf
2bb8f0703d
'main': Highlight mismatched foreach/end.
Fixes #96 .
8 years ago
Daniel Shahaf
a2876fb57d
dev tools: Add a TODO to introduce code reuse.
8 years ago
Daniel Shahaf
b2733a64da
'main': Highlight mismatched do/done.
8 years ago