X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=inline;f=etc%2Fzsh%2Fzshrc;h=345bbd54bd649071f19bb0491ddd92a597a0cd9b;hb=00085f1df9b9da86d01105627f7c42a0669b1e0b;hp=4178304e565ec66d61982ff0fb179d4f70be21d2;hpb=442da815e7724dc8601329d6f725a9f65e656382;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 4178304..345bbd5 100644 --- 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