Skip to content

Commit 1a5ee2e

Browse files
authored
chore(): Makefile autocomplete (#28)
1 parent fa37c0f commit 1a5ee2e

File tree

1 file changed

+3
-0
lines changed
  • docker/dev/php/files/user-home

1 file changed

+3
-0
lines changed

docker/dev/php/files/user-home/.bashrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ export PS1='\[\e[1;32m\]\h\[\e[0m\] \[\e[1;37m\]\w\[\e[0m\] \[\e[1;32m\]\u\[\e[0
55
if [ -f ~/.bash_aliases ]; then
66
. ~/.bash_aliases
77
fi
8+
9+
# autocomplete for `make` command
10+
complete -W "\`grep -oE '^[a-zA-Z0-9_.-]+:([^=]|$)' ?akefile | sed 's/[^a-zA-Z0-9_.-]*$//'\`" make

0 commit comments

Comments
 (0)