Removing say() function in perl plugin so that it doesn't overwrite OSX comand line utility. Closes #2562
This commit is contained in:
parent
ce607d3fcb
commit
43bdea4c2f
@ -27,7 +27,7 @@ alias latest-perl='curl -s http://www.perl.org/get.html | perl -wlne '\''if (/pe
|
||||
|
||||
# Functions #################################################################
|
||||
|
||||
# newpl - creates a basic Perl script file and opens it with $EDITOR
|
||||
# newpl - creates a basic Perl script file and opens it with $EDITOR
|
||||
newpl () {
|
||||
# set $EDITOR to 'vim' if it is undefined
|
||||
[[ -z $EDITOR ]] && EDITOR=vim
|
||||
@ -54,9 +54,3 @@ pgs() { # [find] [replace] [filename]
|
||||
prep() { # [pattern] [filename unless STDOUT]
|
||||
perl -nle 'print if /'"$1"'/;' $2
|
||||
}
|
||||
|
||||
# say - append a newline to 'print'
|
||||
say() {
|
||||
print "$1\n"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user