From f7db2b405fcc73944d55b2618303699e524e66e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lademann?= Date: Tue, 20 Nov 2018 10:04:15 +0100 Subject: [PATCH] Activate autocomplete --- src/settings.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/settings.bash b/src/settings.bash index 3d39c3e..59c3871 100644 --- a/src/settings.bash +++ b/src/settings.bash @@ -92,3 +92,6 @@ esac # Tell ls to be colourful export CLICOLOR=1 + +# Activate autocomple +complete -W "\`grep -oE '^[a-zA-Z0-9_.-]+:([^=]|$)' Makefile | sed 's/[^a-zA-Z0-9_.-]*$//'\`" make