X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=utilities%2Fovs-command-bashcomp.INSTALL.md;h=9bdef40f3997ea76e16f2ef5efa711f8a8ac6202;hb=fc038fbbd429eb7d0712c6f3a732a6a21a07303a;hp=411f42fe621a34c5e7f660dbb430731e96bf419b;hpb=557570fa09ccc1e2a5b76658bc18d2e04e9d7fb6;p=cascardo%2Fovs.git diff --git a/utilities/ovs-command-bashcomp.INSTALL.md b/utilities/ovs-command-bashcomp.INSTALL.md index 411f42fe6..9bdef40f3 100644 --- a/utilities/ovs-command-bashcomp.INSTALL.md +++ b/utilities/ovs-command-bashcomp.INSTALL.md @@ -65,9 +65,16 @@ ovs-vsctl-bashcomp How to use: ----------- - To use the scripts, either copy them inside /etc/bash_completion.d/ or - manually run it directly in bash via . ovs-appctl-bashcomp.bash or - . ovs-vsctl-bashcomp.bash. + The bashcomp scripts should be placed at /etc/bash_completion.d/ + to be available for all bash sessions. Running 'make install' + will place the scripts to $(sysconfdir)/bash_completion.d/. So user + should specify --sysconfdir=/etc at configuration. Meanwhile, if OVS is + installed from packages, the scripts will automatically be placed inside + /etc/bash_completion.d/. + + If you just want to run the scripts in one bash, you can remove them from + /etc/bash_completion.d/ and run the scripts via '. ovs-appctl-bashcomp.bash' + or '. ovs-vsctl-bashcomp.bash'. Test: -----