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
|
[[ -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
|
||||||
|
|
Loading…
Reference in New Issue