zshrc: Remove setenv
authorFrank Terbeck <ft@bewatermyfriend.org>
Tue, 29 Nov 2011 13:50:14 +0000 (14:50 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 6 Dec 2011 13:50:47 +0000 (14:50 +0100)
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
doc/grmlzshrc.t2t
etc/zsh/zshrc

index c0e1a15..6cd5b97 100644 (file)
@@ -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.
index d07e9b0..80a362d 100644 (file)
@@ -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