On 03/05/2016 07:19 AM, MarkusGMX wrote:
I am not an expert in bash completion.
Neither am I, but in my 13.1 system the code to run what you describe is in /etc/bash.bashrc 256 # 257 # Expert mode: if we find $HOME/.bash.expert we skip our settings 258 # used for interactive completion and read in the expert file. 259 # 260 if test "$is" = "bash" -a -r $HOME/.bash.expert ; then 261 . $HOME/.bash.expert 262 elif test "$is" = "bash" ; then 263 # Complete builtin of the bash 2.0 and higher 264 case "$BASH_VERSION" in 265 [2-9].*) 266 if test -e /etc/bash_completion ; then 267 . /etc/bash_completion 268 elif test -s /etc/profile.d/bash_completion.sh ; then 269 . /etc/profile.d/bash_completion.sh 270 elif test -s /etc/profile.d/complete.bash ; then 271 . /etc/profile.d/complete.bash 272 fi 273 for s in /etc/bash_completion.d/*.sh ; do 274 test -r $s && . $s 275 done 276 if test -e $HOME/.bash_completion ; then 277 . $HOME/.bash_completion 278 fi 279 if test -f /etc/bash_command_not_found ; then 280 . /etc/bash_command_not_found 281 fi 282 ;; 283 *) ;; 284 esac 285 fi The issue is how do you get to execute that code in the current shell? Somewhere there should be a . /etc/bash.bashrc If you don't invoke from your own ~/.bashrc then it must come from /etc/profile How do you source /etc/profile? Well *I* have $ grep "/etc/profile" ~/.profile ~/.bashrc ~/.bash_profile /home/anton/.profile:test -z "$PROFILEREAD" && . /etc/profile || true /home/anton/.bash_profile:test -z "$PROFILEREAD" && . /etc/profile || true So the question is a) do you? and b) how do you start up your bash shell? -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org