diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-06-08 09:25:39 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-06-08 09:25:39 +0000 |
commit | 805381040dd69dd02b78423d2d71913b33f3cc33 (patch) | |
tree | 1fa89ee643e8e577a2f79e76e3d6cafc93256ca2 /Src/options.c | |
parent | f42e3fa8e6152e145251e8f16f4c61c23dec1f59 (diff) | |
download | zsh-805381040dd69dd02b78423d2d71913b33f3cc33.tar.gz zsh-805381040dd69dd02b78423d2d71913b33f3cc33.tar.xz zsh-805381040dd69dd02b78423d2d71913b33f3cc33.zip |
zsh-3.1.5-pws-21 zsh-3.1.5-pws-21
Diffstat (limited to 'Src/options.c')
-rw-r--r-- | Src/options.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Src/options.c b/Src/options.c index 5725d27c0..504ccdf7e 100644 --- a/Src/options.c +++ b/Src/options.c @@ -438,17 +438,6 @@ emulate(const char *zsh_name, int fully) { char ch = *zsh_name; - if (!strcmp("su", zsh_name)) { - /* We haven't set up the paramtable yet, so just use zgetenv */ - char *ptr = zgetenv("SHELL"); - if (ptr && *ptr) { - zsh_name = ptr; - if ((ptr = strrchr(zsh_name, '/'))) - zsh_name = ptr+1; - ch = *zsh_name; - } else - ch = 'z'; - } if (ch == 'r') ch = zsh_name[1]; |