[Bash-completion-devel] Bug#741860: some more digging about bash-completion.

shirish शिरीष shirishag75 at gmail.com
Mon Mar 17 05:28:20 UTC 2014


Hi all,
I did some more digging. Apparently it seems that as root
bash-completion performs it tasks correctly. It's only when as a user
it does not.

root at debian# touch Network\ Mapping-_uIOdTfp6Pw. <tab key>
Network Mapping-_uIOdTfp6Pw.mp4  Network Mapping-_uIOdTfp6Pw.srt

This is the desired effect.

As a user it has the same issue as before.

I saw in .bashrc

# 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 ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

This has been borrowed from /etc/bash.bashrc . The only difference
between the two is there the same thing is commented while here it's
not.

Hopefully this will help shed light on something. Although I have to
say this was at least a year or so ago.
-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17



More information about the Bash-completion-devel mailing list