From bd6da853ad78071c3125652493ee833c6dab544f Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 29 Nov 2011 14:50:14 +0100 Subject: [PATCH] zshrc: Remove setenv Signed-off-by: Frank Terbeck --- doc/grmlzshrc.t2t | 3 --- etc/zsh/zshrc | 3 --- 2 files changed, 6 deletions(-) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index c0e1a15..6cd5b97 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -612,9 +612,6 @@ Reloads functions given as parameters. Creates an alias whith sudo prepended, if $EUID is not zero. Run "salias -h" for details. See also xunfunction() below. -: **setenv()** -Reimplementation of the csh(1) builtin setenv. - : **show-archive()** Lists the contents of a (compressed) archive with the appropriate programs. The choice is made along the filename extension. diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index d07e9b0..80a362d 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1879,9 +1879,6 @@ is4 && nt() { # shell functions -#f1# Provide csh compatibility -setenv() { typeset -x "${1}${1:+=}${(@)argv[2,$#]}" } # csh compatibility - #f1# Reload an autoloadable function freload() { while (( $# )); do; unfunction $1; autoload -U $1; shift; done } compdef _functions freload -- 2.1.4