2

I am new to urxvt (moved from gnome-terminal -> Ubuntu 12.04 refugee). I am used to having environment variables expand in gnome-terminal by default

Suppose that I have an environment variable "FOO_PATH" set up for "/home/foo/".

When I type $FOO_PATH/ , I do not get an expansion and/or a listing of items in $FOO_PATH.

How do I achieve this in {u}rxvt ? Thanks for your attention.

RRS

boffin
  • 175

2 Answers2

6

This is about direxpand option. $ shopt -s direxpand and $FOO_PATH/ will be expanded by TAB.

1

What you describe sounds like a shell issue, and nothing that has to do with Urxvt/Gnome Terminal. Probably Bash is used in both cases - perhaps you are missing the bash-completion package or an equivalent in your current setup (it seems like you have left Ubuntu, but you don't say what you use now, so I can't give more specific tips). Try installing that.