From ba50de94fa8728459333e95a5019d1cfbf23dd78 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Wed, 3 Mar 2010 12:34:40 +0100 Subject: [PATCH 1/1] Make sure /bin/mksh is used in minimal-shell() If that is not done, the `env' program may start a mksh from the current directory, which we certainly do not want. At all. --- etc/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index e30f511..f07fb67 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2956,7 +2956,7 @@ iwclient() { # spawn a minimally set up mksh - useful if you want to umount /usr/. minimal-shell() { emulate -L zsh - local shell="mksh" + local shell="/bin/mksh" if ! check_com -c ${shell}; then printf '`%s'\'' not available, giving up.\n' ${shell} >&2 -- 2.1.4