mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
refactor: Normalize shebang of scripts to source
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# -*- mode: bash -*-
|
||||
#! bash oh-my-bash.module
|
||||
# Add completion for Makefile
|
||||
# see http://stackoverflow.com/a/38415982/1472048
|
||||
complete -W "\$(shopt -u nullglob; shopt -s nocaseglob; command grep -oE '^[a-zA-Z0-9_-]+:([^=]|\$)' *makefile 2>/dev/null | command sed 's/[^a-zA-Z0-9_-]*\$//')" make
|
||||
|
||||
Reference in New Issue
Block a user