projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbfb3eb
)
Make sure /bin/mksh is used in minimal-shell()
author
Frank Terbeck
<ft@bewatermyfriend.org>
Wed, 3 Mar 2010 11:34:40 +0000
(12:34 +0100)
committer
Frank Terbeck
<ft@bewatermyfriend.org>
Wed, 3 Mar 2010 11:34:40 +0000
(12:34 +0100)
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
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
e30f511
..
f07fb67
100644
(file)
--- 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