From e01448c1c7eb65184ae5b2b5c04f907d816e269a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 27 Aug 2016 00:49:53 +0300 Subject: [PATCH] .shellrc: add completion for m(ake) --- .shellrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.shellrc b/.shellrc index e43c215..253d434 100644 --- a/.shellrc +++ b/.shellrc @@ -147,6 +147,16 @@ if test -n "$BASH_VERSION"; then complete -F _ssh_completion_loader s fi + if has_completion make; then + _make_completion_loader() { + _completion_loader make + complete -F _make m + unset _make_completion_loader + return 124 + } + complete -F _make_completion_loader m + fi + unset has_completion complete -A job bg fg j jobs wait -- 2.39.5