Article View: comp.unix.shell
Article #4578Bash var and file name completion
From: Marius Groenendijk
Date: Fri, 05 Jul 1996 00:00
Date: Fri, 05 Jul 1996 00:00
15 lines
1105 bytes
1105 bytes
Bash does file and variable name completion. Is it possible to combine both (and how)? That is, if a string contains a variable, file name completion should still work. For ex. $HOME/.bash<TAB> should complete to $HOME/.bash_history and $HOME/.bashrc Of course asking $HO/.bash to complete into $HOME/.... is asking for too much. -- Marius Groenendijk Cray Systems marius@cray-systems.lu ALEP Support Team alep-support@cray-systems.lu
Technical Details
Message-ID:
<31DD1175.AB5@cray-systems.lu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<31db86ad.198224@news.wave.co.nz>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,5f187b6ee7b02a12,start X-Google-Attributes: gid1025b4,public X-Google-Thread: 1012a6,c6013d02c7afe42c X-Google-Attributes: gid1012a6,public From: Marius Groenendijk <marius@cray-systems.lu> Subject: Bash var and file name completion Date: 1996/07/05 Message-ID: <31DD1175.AB5@cray-systems.lu> X-Deja-AN: 163830303 references: <31db86ad.198224@news.wave.co.nz> content-type: text/plain; charset=us-ascii organization: Cray Systems mime-version: 1.0 newsgroups: comp.unix.shell,gnu.misc.discuss x-mailer: Mozilla 3.0b4 (X11; I; SunOS 5.4 sun4c)