mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
* Implement aliases, completion in oh-my-bash * Added default themes from Bash-it * Fixed few issues
4 lines
177 B
Bash
4 lines
177 B
Bash
# Add completion for Makefile
|
|
# see http://stackoverflow.com/a/38415982/1472048
|
|
complete -W "\`grep -oE '^[a-zA-Z0-9_-]+:([^=]|$)' Makefile | sed 's/[^a-zA-Z0-9_-]*$//'\`" make
|