Bash: autocomplete from list

Luis Paulo luis.barbas at
Sun Aug 1 13:22:55 UTC 2010

On Sun, Aug 1, 2010 at 1:23 AM, Afsheen Ghorashy <grasswistle at> wrote:
> Let us assume that I have a text file with expressions separated by line
> breaks.
> I would like Bash to include the expressions of this text file in its search
> when I press double-tab (autocomplete).
> Is this possible? How would I do it? Programming is no foe of mine.
> Thanks,
> Grasswistle
> --
> ubuntu-users mailing list
> ubuntu-users at
> Modify settings or unsubscribe at:


But ii the expressions are commands you want an easier way to type
them at the prompt, try the bash aliases.

See, for example

Hope it helps

More information about the ubuntu-users mailing list