summaryrefslogtreecommitdiff
path: root/plugins/perl
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2015-02-22 09:57:42 -0800
committerRobby Russell <robby@planetargon.com>2015-02-22 09:57:42 -0800
commit43bdea4c2fab0ff313a28e2b45274a90c8cc3c76 (patch)
treebf59cd4fdc1d2a31b6d09c3cf0dd3d1e5e59ffca /plugins/perl
parentce607d3fcb4c730c991563b4c62725cd89ce0ced (diff)
downloadzsh-43bdea4c2fab0ff313a28e2b45274a90c8cc3c76.tar.gz
zsh-43bdea4c2fab0ff313a28e2b45274a90c8cc3c76.tar.bz2
zsh-43bdea4c2fab0ff313a28e2b45274a90c8cc3c76.zip
Removing say() function in perl plugin so that it doesn't overwrite OSX comand line utility. Closes #2562
Diffstat (limited to 'plugins/perl')
-rw-r--r--plugins/perl/perl.plugin.zsh8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/perl/perl.plugin.zsh b/plugins/perl/perl.plugin.zsh
index f94c4195d..1fbf7c122 100644
--- a/plugins/perl/perl.plugin.zsh
+++ b/plugins/perl/perl.plugin.zsh
@@ -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"
-}
-