* zsh-syntax-highlighting 0.3.0 released
@ 2015-10-20 14:40 Daniel Shahaf
2015-10-21 1:40 ` Ray Andrews
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Shahaf @ 2015-10-20 14:40 UTC (permalink / raw)
To: zsh-users
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: zsh-syntax-highlighting 0.3.0 released
2015-10-20 14:40 zsh-syntax-highlighting 0.3.0 released Daniel Shahaf
@ 2015-10-21 1:40 ` Ray Andrews
2015-10-22 12:34 ` Daniel Shahaf
0 siblings, 1 reply; 4+ messages in thread
From: Ray Andrews @ 2015-10-21 1:40 UTC (permalink / raw)
To: zsh-users
On 10/20/2015 07:40 AM, Daniel Shahaf wrote:
> zsh-syntax-highlighting 0.3.0 has been released.
Where does it highlight? Just at the command line? Or perhaps other
situations to?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: zsh-syntax-highlighting 0.3.0 released
2015-10-21 1:40 ` Ray Andrews
@ 2015-10-22 12:34 ` Daniel Shahaf
2015-10-22 15:47 ` Ray Andrews
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Shahaf @ 2015-10-22 12:34 UTC (permalink / raw)
To: Ray Andrews; +Cc: zsh-users
Ray Andrews wrote on Tue, Oct 20, 2015 at 18:40:18 -0700:
> On 10/20/2015 07:40 AM, Daniel Shahaf wrote:
> >zsh-syntax-highlighting 0.3.0 has been released.
> Where does it highlight? Just at the command line? Or perhaps other
> situations to?
It only highlights commands that are typed into interactive shells.
What "other situations" do you have in mind?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: zsh-syntax-highlighting 0.3.0 released
2015-10-22 12:34 ` Daniel Shahaf
@ 2015-10-22 15:47 ` Ray Andrews
0 siblings, 0 replies; 4+ messages in thread
From: Ray Andrews @ 2015-10-22 15:47 UTC (permalink / raw)
To: zsh-users
On 10/22/2015 05:34 AM, Daniel Shahaf wrote:
>
> Where does it highlight? Just at the command line? Or perhaps other
> situations to?
> It only highlights commands that are typed into interactive shells.
> What "other situations" do you have in mind?
Not sure. Perhaps there could be some nice surprise that I haven't
thought of but
I'd expect only typed commands, as you say.
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-22 15:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-20 14:40 zsh-syntax-highlighting 0.3.0 released Daniel Shahaf
2015-10-21 1:40 ` Ray Andrews
2015-10-22 12:34 ` Daniel Shahaf
2015-10-22 15:47 ` Ray Andrews
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).