Artifact Content
Not logged in

Artifact ad3f81e03c0217280ce9ba8de54d588255439b7c

Wiki page [Auto-completion] by anonymous on 2008-02-10 15:15:50.

D 2008-02-10T15:15:50
L Auto-completion
P 7509ac707bc7a70c469f4371cfea05f565726eb1
U anonymous
W 827
At least on my system (ubuntu) many programs feature auto-completion of subcommands; it is very useful. Fossil does not, svn and cvs do.

My guess is that the feature is enabled by the following entry in .bashrc:

<verbatim>
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi
</verbatim>

It would be nice if we could develop and maintain a file that would enable this for fossil when copied to /etc/bash_completion.d. I do not know if this can be made in a portable (or at least automated) manner at all.

Would attach the /etc/bash_completion.d/subversion file as example, but can't - and it's a bit too long to include here


Z fe27dddad41ecad86a26ec37483faa49