Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Fix VCS_INFO_reposub's command expansion
On Mon, 29 Sep 2014 14:23:28 +0200
Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx> wrote:
> -[[ $(pwd -P) == ${base}/* ]] || {
> +tmp="$(pwd -P)"
> +[[ $tmp == ${base}/* ]] || {
There's no problem with this change, but actually you get away with it
anyway here since the [[ ... ]] context knows it should expand as a
single word.
[[ $(print eurgh yuk) == "eurgh yuk" ]] && print OK
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author