Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh-syntax-highlighting 0.3.0 released
- X-seq: zsh-users 20798
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: zsh-syntax-highlighting 0.3.0 released
- Date: Tue, 20 Oct 2015 14:40:14 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=vg92ZPJIhAKEKPk16xk94mQ5aro=; b=xb2Ot6 RY6bZNzs+Vd7Z4Aiu4oz/9IOQ0pq1PzIYIjM01oNLJPQpvhZaoOlSeIiz2GZCOYp k8OC0T/6jPI57G8oX7JR7pcmkezq+6vx1ohX2vme1Wo6e4lWSrAAD1YsU69Qo391 0L7+eVnn/do4BTp7yA9IfRxwnkt6E3cx62sbs=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=vg92ZPJIhAKEKPk16xk94mQ5aro=; b=uGs/n 6g32K7lwXMjrwc128m6CP1iqeIUgxcA3Xc6FLD45eqnEVPfkuW3PDLJQO84e91c+ 7CnwhlxJ5bJD/TMx1xzwMJXDdCqAZQpI2br7SXOVoK3TdZRqMzkColM5lBjQcEWI ojP2N2S0w03diqE5lYIkMacPho6tXD9RjMTs7U=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
zsh-syntax-highlighting 0.3.0 has been released.
The zsh-syntax-highlighting package provides syntax highlighting for
interactive zsh sessions. Version 0.3.0 is primarily a maintenance/bugfix
release over the outgoing 0.2.1.
To install, either (1a) download:
wget https://github.com/zsh-users/zsh-syntax-highlighting/archive/0.3.0.tar.gz
tar zxf 0.3.0.tar.gz
cd zsh-syntax-highlighting-0.3.0
or (1b) clone:
git clone https://github.com/zsh-users/zsh-syntax-highlighting/
cd zsh-syntax-highlighting
git checkout 0.3.0
and then (2) append
source /path/to/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
to your .zshrc.
Special thanks to Daniel Hahler for making this possible.
The changelog follows.
Bug reports to github or to #zsh-syntax-highlighting on freenode,
please.
Cheers,
Daniel
---
# Changes in version 0.3.0
## Added highlighting of:
- suffix aliases (requires zsh 5.1.1 or newer):
alias -s png=display
foo.png
- prefix redirections:
<foo.txt cat
- redirection operators:
echo > foo.txt
- arithmetic evaluations:
(( 42 ))
- $'' strings, including \x/\octal/\u/\U escapes
: $'foo\u0040bar'
- multiline strings:
% echo "line 1
line 2"
- string literals that haven't been finished:
% echo "Hello, world
- command words that involve tilde expansion:
% ~/bin/foo
## Fixed highlighting of:
- quoted command words:
% \ls
- backslash escapes in "" strings:
% echo "\x41"
- noglob after command separator:
% :; noglob echo *
- glob after command separator, when the first command starts with 'noglob':
% noglob true; echo *
- the region (vi visual mode / set-mark-command) (issue #165)
- redirection and command separators that would be highlighted as `path_approx`
% echo foo;‸
% echo <‸
(where `‸` represents the cursor location)
- escaped globbing (outside quotes)
% echo \*
## Other changes:
- implemented compatibility with zsh's paste highlighting (issue #175)
- `$?` propagated correctly to wrapped widgets
- don't leak $REPLY into global scope
## Developer-visible changes:
- added makefile with `install` and `test` targets
- set `warn_create_global` internally
- document release process
Messages sorted by:
Reverse Date,
Date,
Thread,
Author