zsh-workers
 help / color / mirror / code / Atom feed
* zsh incorrectly report broken symlink for executable
@ 2018-02-28 12:56 perso
  0 siblings, 0 replies; only message in thread
From: perso @ 2018-02-28 12:56 UTC (permalink / raw)
  To: zsh-workers

Hi,

When I symlink an executable and that executable is moved, zsh doesn’t offer completion when using absolute path for it and
reports that the original file is not found.

To reproducing the issue:
$ ln -s file_that_does_not_exist broken_link
$ ./broken<TAB>_link
zsh: no such file or directory: ./broken_link
$ /home/myuser/broken<TAB> # nothing happens

What should happen:

- zsh should complete always to not confuse the user (the file exists!)
- zsh should display a better error message like:
zsh: symlink points to inexistent file or directory: ./broken_link

Thanks by advance.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-28 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-28 12:56 zsh incorrectly report broken symlink for executable perso

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).