Control: found -1 5.2-3
On 2016-03-10 12:23:38 +0100, Christian Heinrich wrote:
> I just verified that this patch was included in the latest ZSH package
> in Stretch. Am I correct that this (pretty old) issue can actually be
> closed as resolved?
I can still reproduce it with zsh 5.2-3, which is
Hi,
I just verified that this patch was included in the latest ZSH package
in Stretch. Am I correct that this (pretty old) issue can actually be
closed as resolved?
Best
Christian
On Thu, 26 Mar 2009 09:50:29 + Peter Stephenson
wrote:
> On Wed, 25 Mar 2009 17:14:31 -0700
>
On Wed, 25 Mar 2009 17:14:31 -0700
Bart Schaefer schae...@brasslantern.com wrote:
On Mar 25, 6:20pm, Peter Stephenson wrote:
}
} But yes, I share your feeling that this isn't a particularly vital
} addition, it just looked easy to do like other shells in compatability
} mode, which is the
On Wed, Feb 25, 2009 at 03:28:50AM +0100, Vincent Lefevre wrote:
Aliases are not expanded with the -c option, as shown below.
vin% cmd=$(printf emulate sh\nalias a='echo OK 2'\na)
vin% printf %s\n $cmd
emulate sh
alias a='echo OK 2'
a
vin% printf %s $cmd | zsh -f
OK
vin% zsh -fc $cmd
Clint Adams wrote:
On Wed, Feb 25, 2009 at 03:28:50AM +0100, Vincent Lefevre wrote:
Aliases are not expanded with the -c option, as shown below.
vin% cmd=$(printf emulate sh\nalias a='echo OK 2'\na)
vin% printf %s\n $cmd
emulate sh
alias a='echo OK 2'
a
vin% printf %s $cmd | zsh
On Wed, 25 Mar 2009 16:30:08 +
Peter Stephenson p...@csr.com wrote:
Clint Adams wrote:
On Wed, Feb 25, 2009 at 03:28:50AM +0100, Vincent Lefevre wrote:
Aliases are not expanded with the -c option, as shown below.
vin% cmd=$(printf emulate sh\nalias a='echo OK 2'\na)
vin% printf %s\n $cmd
On Mar 25, 5:25pm, Peter Stephenson wrote:
} Subject: Re: Bug#517008: alias not expanded with zsh -c
}
} Yes, at least as far as native zsh mode goes this isn't a bug.
}
} I should also have pointed out that the emulate sh doesn't make any
} difference, it only takes effect after the string
Bart Schaefer wrote:
} Is the fix as simple as the following? This is not a trick question, I
} could very easily have missed something.
Will this cover emulate -c?
If you mean cover it in the sense that the option is turned on before
any code is parsed---yes, but that's not changed by this
On 2009-03-25 11:11:28 -0700, Bart Schaefer wrote:
On Mar 25, 5:25pm, Peter Stephenson wrote:
} Subject: Re: Bug#517008: alias not expanded with zsh -c
}
} Yes, at least as far as native zsh mode goes this isn't a bug.
}
} I should also have pointed out that the emulate sh doesn't make
On Mar 25, 6:20pm, Peter Stephenson wrote:
}
} But yes, I share your feeling that this isn't a particularly vital
} addition, it just looked easy to do like other shells in compatability
} mode, which is the point of that.
It just seems to me that we're potentially penalizing a script that does
Package: zsh
Version: 4.3.9-1
Severity: normal
Aliases are not expanded with the -c option, as shown below.
vin% cmd=$(printf emulate sh\nalias a='echo OK 2'\na)
vin% printf %s\n $cmd
emulate sh
alias a='echo OK 2'
a
vin% printf %s $cmd | zsh -f
OK
vin% zsh -fc $cmd
zsh:3: command not found: a
11 matches
Mail list logo