Quickfix: bash tab completion doesn’t work with mplayer
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.
Solution:
echo "complete -r mplayer" >> ~/.bashrc
References:
https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2007-October/001946.html
http://ubuntuforums.org/archive/index.php/t-623031.html
Thanks! Been looking for this answer for a while :)
Dave
June 12, 2009 at 4:11 pm