linux - How to extend bash-completion with the already exist completion in another file? -
for example, there bash-completion rar on linux, want extend, make more completions same command - rar, maybe own filename extension, don't want touch existing completion script, how start it?
thanks!
the base support usally in /etc/bash_completion
, details in directory /etc/bash_completion.d
for more information, see:
an introduction bash completion: part 1 general knowledge
an introduction bash completion: part 2 details on scripts in /etc/bash_completion.d