Remove more unused scripts
This commit is contained in:
15
bash/sources/20_fast-greps
Executable file
15
bash/sources/20_fast-greps
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
alias grepphp='grep -n --include=*.php'
|
||||
alias grepjs='grep -n --include=*.js'
|
||||
|
||||
function grept {
|
||||
if [[ -z "$1" ]]; then
|
||||
__func_head "TYPE GREP_ARGS"
|
||||
echo
|
||||
else
|
||||
CMD="grep --color=auto -n --include=*.$1"
|
||||
shift
|
||||
$CMD $@
|
||||
fi
|
||||
}
|
Reference in New Issue
Block a user