diff --git a/cmd b/cmd index d589ed7..811a14b 100755 --- a/cmd +++ b/cmd @@ -398,7 +398,7 @@ _buffer() { } # --------------------- completion and delegation -------------------- -# (better than . <(foo bloated_completion) in .bashrc) +# `complete -C foo foo` > `source <(foo bloated_completion)` while IFS= read -r line; do [[ $line =~ ^declare\ -f\ command_ ]] || continue