Index

Subject : Re: LUG: Disable tilda expansion in bash

From : mgangav@ncsu.[redacted]

Date : Mon, 29 Mar 2010 18:14:49 -0400

Parent


You proably have the

set show-all-if-ambiguous on

option in your ~/.bashrc file. You can set that option to off to turn off
the auto-expansion.

Thanks,
Mehul

> You can backslash-escape the tilda.
>
> -Brian
>
>
> On Thu, Mar 25, 2010 at 10:59 PM, Daniel Underwood <
> daniel.underwood@ncsu.[redacted]> wrote:
>
>> How can I prevent ~/directory from expanding to /home/daniel/directory
>> when typing in a terminal?
>> --
>> Daniel Underwood
>> North Carolina State University
>> Graduate Student - Operations Research
>> email: daniel.underwood@ncsu.[redacted]
>> phone: XXX.302.3291
>> web: http://www4.ncsu.edu/~djunderw/ <http://www4.ncsu.edu/%7Edjunderw/>
>>
>>
>