From ac404c119ce814156c5744f83fbfc3dbd6738f92 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Wed, 30 Nov 2011 22:26:24 +0100 Subject: [PATCH] zshrc: Remove `refunc' as `freload' does the same thing Signed-off-by: Frank Terbeck --- doc/grmlzshrc.t2t | 3 --- etc/zsh/zshrc | 10 ---------- 2 files changed, 13 deletions(-) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index ab7b6e8..f694ad6 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -581,9 +581,6 @@ Example usages: Runs a command in $SHELL with profiling enabled (See startup variable ZSH_PROFILE_RC above). -: **refunc()** -Reloads functions given as parameters. - : **salias()** Creates an alias whith sudo prepended, if $EUID is not zero. Run "salias -h" for details. See also xunfunction() below. diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index ea67451..300f624 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2536,16 +2536,6 @@ _simple_extract() compdef _simple_extract simple-extract alias se=simple-extract -# TODO: So, this is the third incarnation of this function!? -#f5# Reload given functions -refunc() { - for func in $argv ; do - unfunction $func - autoload $func - done -} -compdef _functions refunc - #f5# Set all ulimit parameters to \kbd{unlimited} allulimit() { ulimit -c unlimited -- 2.1.4