7

For example, there is bash-completion for rar on linux, I want to extend, make more completions for the same command - rar, maybe for my own filename extension, but I don't want to touch the already existing completion script, how to start it?

Thanks!

user3620613
  • 151
  • 1
  • 7

1 Answers1

2

The base support is usally in /etc/bash_completion and details in the directory /etc/bash_completion.d

For more information, see:

An introduction to bash completion: part 1 for general knowledge
An introduction to bash completion: part 2 for details on scripts in /etc/bash_completion.d

asclepix
  • 7,971
  • 3
  • 31
  • 41