|Subject:||Re: BASH_FUNC__ appearing in environment|
|Date:||Fri, 28 Nov 2014 10:02:47 +0100|
OK - found the functions that are appearing. I was grepping BASH_FUNC__ in etc - wrong. The functions are in the /usr/share/bash-completion/completions directory - and exist as rcs and sudo files. The code in those files defines functions for _rcs and _sudo respectively. The rcs file contains:
# bash completion for rcs -*- shell-script -*-
complete -F _rcs ci co rlog rcs rcsdiff
# ex: ts=4 sw=4 et filetype=sh
OK - so that is the code that appears in my environment as BASH_FUNC__rcs - now the question is - why - and why does it persist? I am not aware of using completion with sudo or rcs - so where/why/how in bash do these /usr/share scripts get actioned?
|[Prev in Thread]||Current Thread||[Next in Thread]|