mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
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
1 changed files with 1 additions and 7 deletions
|
@ -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 a new issue