complete makefile

This commit is contained in:
Yax 2022-04-05 08:26:49 +02:00
parent a86e9fc69e
commit 06b247403e

View file

@ -128,6 +128,11 @@ if command -v most > /dev/null 2>&1; then
export PAGER="most"
fi
# ---------------------------------------------------------------------------
# COMPLETIONS
# ---------------------------------------------------------------------------
complete -W "\`grep -oE '^[a-zA-Z0-9_.-]+:([^=]|$)' ?akefile | sed 's/[^a-zA-Z0-9_.-]*$//'\`" make
# -------------------------------------------------------------
# Source .bashrc.d files
# -------------------------------------------------------------