diff options
author | Robby Russell <robby@planetargon.com> | 2015-02-22 09:57:42 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-02-22 09:57:42 -0800 |
commit | 43bdea4c2fab0ff313a28e2b45274a90c8cc3c76 (patch) | |
tree | bf59cd4fdc1d2a31b6d09c3cf0dd3d1e5e59ffca /plugins/perl/perl.plugin.zsh | |
parent | ce607d3fcb4c730c991563b4c62725cd89ce0ced (diff) | |
download | zsh-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/perl.plugin.zsh')
-rw-r--r-- | plugins/perl/perl.plugin.zsh | 8 |
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" -} - |