one line custom completions

This commit is contained in:
fanyx 2023-09-09 11:52:27 +02:00
parent 26aa8d9636
commit 486cd4a291
1 changed files with 1 additions and 5 deletions

View File

@ -15,11 +15,7 @@
[[ -r /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion [[ -r /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion
# custom bash-completions # custom bash-completions
if [[ -d ~/.config/completions ]]; then [ -d ~/.config/completions ] && { for i in ~/.config/completions/*; do source $i; done }
for i in ~/.config/completions/*; do
. $i
done
fi
# source distro and general purpose aliases # source distro and general purpose aliases
[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases [[ -r ~/.bash_aliases ]] && . ~/.bash_aliases