Brian King <brk...@linux.vnet.ibm.com> writes: > I can't seem to get this patch to work. I noticed if I compile manually > just by doing make install, it installs iprconfig-bash-completion.sh > in /usr/local/etc/bash_completion.d/. I then manually copied > iprconfig-bash-completion.sh > to /etc/bash_completion.d/, and it still didn't seem to do anything. > Tried doing exec bash first, even logged out and logged back in.
Hello Brian, how are you? It was installed to /usr/local probably because you ran configure by hand, and your @sysconfdir@ was set to /usr/local. When installing with the RPM package, we use --sysconfdir={_sysconfdir} to set it to /etc. You need the *bash-completion* package for it to work out-of-the-box (starting a new shell session is still required after installing). If you don't have this package, you can source iprconfig-bash-completion.sh file directly in order to test the patch. In systems were bash-completion is not available the script can just stay there, alongside with other bash-completion files and can be sourced by user's environment files. Also, if you have an older version of iprutils installed in the system, make sure you use the right path to the version that has the -l flag. Otherwise autocompletion will get messed up. Please, give it a try, I can offer you a machine off-list to test it, and if you think it is a nice feature to have in iprutils, let me know and I'll include the missing optional dependency in the spec file. If you think it shouldn't go into iprutils at all, I'll just drop it! Thanks! -- Gabriel Krisman Bertazi ------------------------------------------------------------------------------ _______________________________________________ Iprdd-devel mailing list Iprdd-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iprdd-devel