zsh bug: Incorrect (misleading) error message in zsh when using rm and drive letter is specified
Ken Brown
kbrown@cornell.edu
Tue Aug 23 16:12:00 GMT 2016
On 8/23/2016 3:57 AM, Ronald Fischer wrote:
> I observed this:
>
> -0-1- ~/exp > rm e:/media/*
> zsh: sure you want to delete all the files in /home/FISRONA/exp/e:/media
> [yn]? n
>
> We see that zsh is catching the case that I want to rm all files in the
> specified directory, and warns me about it (note that it is a zsh error
> message, not a error message from rm), which is fine and expected
> behaviour (which can be controlled by the zsh option RM_STAR_SILENT).
> However, the path printed by zsh is wrong: It interprets e:/... as
> relative path, while it is an absolute path. It seems that zsh is not
> translating windows pathes using a drive letter to /cygdrive/... pathes
> in this case.
Some Cygwin applications do this translation, but not all. You're
better off just using Posix paths.
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list