Modified bashrc to fix bash completion on Ubuntu
This commit is contained in:
parent
cd76084086
commit
d6cd5be515
4
bashrc
4
bashrc
@ -24,9 +24,7 @@ if [ -d $HOME/.bash/aliases ]; then for file in $(ls $HOME/.bash/aliases/*); do
|
|||||||
if [ -d $HOME/.bash/aliases.d ]; then for file in $(ls $HOME/.bash/aliases.d/*); do source $file; done; fi
|
if [ -d $HOME/.bash/aliases.d ]; then for file in $(ls $HOME/.bash/aliases.d/*); do source $file; done; fi
|
||||||
|
|
||||||
# Source bash completion definitions
|
# Source bash completion definitions
|
||||||
[[ -f /etc/bash-completion ]] && source /etc/bash-completion
|
for file in /etc/bash*completion /etc/profile.d/bash*completion* ; do source $file ; done
|
||||||
[[ -f /etc/profile.d/bash-completion ]] && source /etc/profile.d/bash-completion
|
|
||||||
[[ -f /etc/profile.d/bash-completion.sh ]] && source /etc/profile.d/bash-completion.sh
|
|
||||||
|
|
||||||
if [ -f $HOME/.bash_completion ]; then source $HOME/.bash_completion; fi
|
if [ -f $HOME/.bash_completion ]; then source $HOME/.bash_completion; fi
|
||||||
if [ -f $HOME/.bash/completion ]; then source $HOME/.bash/completion; fi
|
if [ -f $HOME/.bash/completion ]; then source $HOME/.bash/completion; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user