TheGeekery

The Usual Tech Ramblings

Debian Lenny, and Tab Auto-complete

I’m currently working on rebuilding a server on a project, and went to hit the tab key to auto-complete1, when I was presented a delightful error…

1
2
$ vim RE-sh: <( compgen -d -- 'RE' ): No such file or directory
-sh: <( eval compgen -f -X '*.@(o|so|so.!(conf)|a|rpm|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mp?(e)g|MPG|avi|AVI|asf|ASF|ogg|OGG|class|CLASS)' -- $(quote_readline $cur) ): No such file or directory

This is actually a reported bug in Debian [#502804] and is caused by using /bin/sh as a shell, rather than /bin/bash due to some POSIX compliant code. A simple change to the shell until they release the fix…

1
usermod –s /bin/bash jangliss

And we’re all set again.


  1. You have no idea how dependant you get on such simple features

Comments