tcsh-org / tcsh

This is a read-only mirror of the tcsh code repository.
https://www.tcsh.org/
Other
229 stars 42 forks source link

Completion for 'ln -s' is incorrect #80

Closed hendersj closed 9 months ago

hendersj commented 9 months ago

When creating a symbolic link in tcsh (6.24.10 on openSUSE Tumbleweed), trying to use tab completion with it results in the following results:

[user@hostname ~]$ ln -s 
<link_name>

The first parameter after '-s' isn't the link name, though - it's the target. The link name comes after the target.

I usually work around this by starting with ln and hitting tab to populate the target, add the link name, and then go back and add '-s' into the command, which is not a great workaround.

The distro's entry for this matches what's in this repo, so hoping an upstream fix will help more than just the openSUSE project with it.

alzwded commented 9 months ago

OpenSUSE's complete.tcsh doesn't match upstream. So it's fixed upstream.

Are you sure your entry for ln matches complete.tcsh? I sourced the one in this repo and it works as expected.

hendersj commented 9 months ago

Thanks - I must've missed something in my comparison of the configuration. Will report back in the openSUSE Project.