projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
zshrc: Fixed `minimal-shell' function
[grml-etc-core.git]
/
etc
/
zsh
/
zshrc
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
4178304
..
345bbd5
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-2969,7
+2969,7
@@
minimal-shell() {
emulate -L zsh
local shell="/bin/mksh"
- if
! check_com -c ${shell}
; then
+ if
[[ ! -x ${shell} ]]
; then
printf '`%s'\'' not available, giving up.\n' ${shell} >&2
return 1
fi