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
# custom bash-completions
if [[ -d ~/.config/completions ]]; then
for i in ~/.config/completions/*; do
. $i
done
fi
[ -d ~/.config/completions ] && { for i in ~/.config/completions/*; do source $i; done }
# source distro and general purpose aliases
[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases