Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'omitting trailing slash on completion' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
omitting trailing slash on completion
Authored by: sjk on Nov 21, '05 03:03:05PM

Adding "set mark-directories off" to ~/.inputrc will omit the trailing slash from directory completion in bash and other apps that use the readline library for completion.

In tcsh, add "unset addsuffix" to ~/.tcshrc or wherever you put commands that it processes shell variables. My ~/.tcshrc file has this line in it:

if (-r /usr/share/tcsh/examples/rc) source /usr/share/tcsh/examples/rc

... so I put "unset addsuffix" in ~/Library/init/tcsh/rc.mine along with other commands that override and extend the rc examples.



[ Reply to This | # ]