]> git.phdru.name Git - dotfiles.git/commitdiff
Refactor(.shellrc)
authorOleg Broytman <phd@phdru.name>
Thu, 27 Aug 2020 00:14:35 +0000 (03:14 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 27 Aug 2020 00:14:35 +0000 (03:14 +0300)
.shellrc

index 92f6585c216cb7347728c31afe81e53efe890eff..167af7b5c4e4cf95101a977adf42d585f468228c 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -118,7 +118,7 @@ if test -n "$BASH_VERSION"; then
    complete -A job j wait
 
    for cmd in unset; do
    complete -A job j wait
 
    for cmd in unset; do
-      ! has_completion $cmd && complete -A variable -A function $cmd
+      ! has_completion $cmd && complete -A function -A variable $cmd
    done
 
    if [ -d "$HOME"/.bash_completion.d ]; then
    done
 
    if [ -d "$HOME"/.bash_completion.d ]; then