bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change the command completion behavior in bash


From: Chet Ramey
Subject: Re: How to change the command completion behavior in bash
Date: Mon, 16 Nov 2009 09:30:18 -0500

> If I have the following in the command line,
> 
> ~/.bash
> 
> when I type <TAB>, it will become /home/my_user_name/.bash
> 
> I'm wondering if it is possible to configure bash command completion,
> so that it will still be '~/.bash'

You don't say what version of bash you're using, but bash-3.2 and bash-4.0
both preserve the tilde by default.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]