jb’s open source blog

A look into my work and play in open source

Quickfix: bash tab completion doesn’t work with mplayer

with one comment

Problem: “mplayer fo[TAB]” won’t work because “foo.bar” is not a “recognized media extension”, like .avi or .mpg. bash tab completion decides what files can be opened by which commands.

echo "complete -r mplayer" >> ~/.bashrc



Written by jbopensrc

March 28, 2008 at 8:01 pm

Posted in Linux, Quickfix

One Response

Subscribe to comments with RSS.

  1. Thanks! Been looking for this answer for a while :)


    June 12, 2009 at 4:11 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: