-
-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create symlink @
to selection fails
#1345
Comments
Duplicate of #1282 |
Ah, I see. I read through the post, but I still don't understand the rationalize behind why the |
* quitcd script for Elvish shell > 0.17.0 * Fix jarun#1345: allow symlink name '@' in single file case Co-authored-by: SlIdE42 <17254419+SlIdE42@users.noreply.github.com> Co-authored-by: Arun <engineerarun@gmail.com>
Thanks, just pulled from master, but I don't know if you misunderstood the intent. Pressing |
That was never the intention. You have to type the symlink file name when there is a single file selected/for current file. |
Environment details (Put
x
in the checkbox along with the information)NNN_OPTS=cdEfHorQSUx
nnn
masterExact steps to reproduce the issue
selection with the same name, with the key sequence
ns@<Return>s
and this fails with the errorFile exists
This operation should not fail, unless I am attempting to create a symlink in
the same directory with the same name. This used to work before, but now, it
now longer allows to create a symlink with the same name. Trying to create
a symlink to a selected file/dir works if
@
is replaced with some othername, but it is annoying to type out a name, especially when in most cases, I'd like to retain the same name.
Last I checked, the key
@
was used to indicate that the symlink name is thesame as the target, unless this has changed now. I also cannot unfortunately
pinpoint exactly which commit this feature broke (this used to work before),
because I have been ignoring this error for quite some time now.
Best,
Amanjit
The text was updated successfully, but these errors were encountered: