Hi,

I have the following problem:

(Environment or regular) variable FOO contains the path of existing directory 
"/foo".  When I have a file "/foo/bar" in that directory and when I press TAB 
in the following commandline ('|' denoting the cursor position)

  $ cat $FOO/b|<TAB>

bash expands the commandline to

  $ cat /foo/bar |

However, I would like to expand it to

  $ cat $FOO/bar |

that is, keep the variable unexpanded, exactly as bash does not expand tilde 
characters during filename completion.

Any chances to achieve that with some shell or readline option?

Thanks and regards

Jens

Reply via email to