one line custom completions
This commit is contained in:
parent
26aa8d9636
commit
486cd4a291
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue