X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=aecbabfe293782006968f294c62f5000142041b5;hb=a5468f8195489f6c662d08c88dee8a9f6657acbf;hp=f3c270b75e3e0f6b00f32bd744ac67b1ee196bd9;hpb=9cbfcb4bb40c2c238386febd496f96d9e91645ae;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index f3c270b..aecbabf 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -624,14 +624,6 @@ export PAGER=${PAGER:-less} #v# export MAIL=${MAIL:-/var/mail/$USER} -# if we don't set $SHELL then aterm, rxvt,.. will use /bin/sh or /bin/bash :-/ -if [[ -z "$SHELL" ]] ; then - SHELL="$(which zsh)" - if [[ -x "$SHELL" ]] ; then - export SHELL - fi -fi - # color setup for ls: check_com -c dircolors && eval $(dircolors -b) # color setup for ls on OS X / FreeBSD: @@ -2938,7 +2930,7 @@ fi # zsh profiling profile() { - ZSH_PROFILE_RC=1 $SHELL "$@" + ZSH_PROFILE_RC=1 zsh "$@" } #f1# Edit an alias via zle