| Tech Tip: Removing Bash’s Command Completions |
[Dec. 13th, 2011|12:44 pm]
|
| [ | Tags | | | bash, linux, tech, tech tip, tip | ] |
| [ | Current Location |
| | Home | ] |
| [ | Current Mood |
| | happy | ] |
| [ | Current Music |
| | Jenna Drey - Why Should I Believe You (Rock Version) | ] |
The normal way to remove a completion for a Bash command (say “mv”) is to do
“complete -r mv”. However, with the bash-completion package installed on
Mageia Linux Cauldron, this is not enough because it also adds a default
completion for every invoked command. So in order to override this behaviour,
type “complete -r -D” and then you can remove the commands’ completions
permanently, using “complete -r mv” or whatever.
|
|
|