1
0
Fork 0

enable completion for bash

This commit is contained in:
J. Elfring (i) 2022-12-15 11:27:06 +01:00
parent 5567cbf563
commit fb14d788ba

View file

@ -76,20 +76,20 @@ alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo
# enable programmable completion features (you don't need to enable # enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile # this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc). # sources /etc/bash.bashrc).
#if ! shopt -oq posix; then if ! shopt -oq posix; then
# if [[ -f /usr/share/bash-completion/bash_completion ]]; then if [[ -f /usr/share/bash-completion/bash_completion ]]; then
# . /usr/share/bash-completion/bash_completion . /usr/share/bash-completion/bash_completion
# elif [[ -f /etc/bash_completion ]]; then elif [[ -f /etc/bash_completion ]]; then
# . /etc/bash_completion . /etc/bash_completion
# fi fi
#fi fi
#
#if [ -d /etc/bash_completion.d ] if [ -d /etc/bash_completion.d ]
#then then
# for file in /etc/bash_completion.d/* ; do for file in /etc/bash_completion.d/* ; do
# source "$file" source "$file"
# done done
#fi fi
if [[ -f $HOME/.bash_profile ]]; then if [[ -f $HOME/.bash_profile ]]; then
source $HOME/.bash_profile source $HOME/.bash_profile