disable autocomplete of the home path
Derek Broughton
news at pointerstop.ca
Wed Feb 7 19:19:58 UTC 2007
Carsten Aulbert wrote:
> Rares Vernica wrote:
>> In Bash, when I type something like "~/" and I press TAB, the "~" is
>> replaced with the path to my home (e.g. "/home/username"). I would like
>> to turn this feature off. Is it possible?
>
> That is a yes
>
>> I don't want to turn off the other auto-completion features, like
>> directory and file names auto-completion, just the "~" replacement.
>
> That's the harder part. My guess is, it belongs to the readline interface
> Thus putting 'set tilde-expand Off' in ~/.incputrc *should* alter that,
> according to 'man bash' or 'man readline', however, I didn't succeed.
>
> Maybe you should search in that direction.
>
It should be ~/.inputrc, and the command should be:
set expand-tilde off
unfortunately, that didn't work either :-)
--
derek
More information about the ubuntu-users
mailing list