Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh incorrectly report broken symlink for executable
- X-seq: zsh-workers 42410
- From: perso@xxxxxxxxxxxxxx
- To: zsh-workers@xxxxxxx
- Subject: zsh incorrectly report broken symlink for executable
- Date: Wed, 28 Feb 2018 12:56:11 +0000
- Authentication-results: profiterole.nuolezio.org; dkim=pass (1024-bit key) header.d=hack-libre.org header.i=@hack-libre.org header.b=PZpPPxbg; dkim-atps=neutral
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hack-libre.org; s=profiterole; t=1519822571; bh=FvGEppUi1ywbQVIM6KyzGygh+7JLXNPyOJDe92ZjXqY=; h=Date:From:Subject:To:From; b=PZpPPxbgFPp/ilKVRVF1n054HE4n+MwPbVnuXLegRwuf2fiSRVp+G8spRqhb7LQ4T BSe3hNo0vfhYOMEhJgaHH4+DoQTGvDuGFu8/wGQZSXGiHCAFCfGBdK77jz+PldwtzD V4TAtwJGdQKnvymD/tYVkjSpteuWg7C7u5/StalM=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author