summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/aliases2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/aliases b/sh/aliases
index 055c797..974a1d7 100644
--- a/sh/aliases
+++ b/sh/aliases
@@ -45,7 +45,7 @@ alias gd='git diff'
## Single Chars
alias r='cd ~ && clear && exec $SHELL'
-case "$(echo $0 | xargs basename)" in
+case "$(echo $0 | sed 's/^-*//' | xargs basename)" in
"zsh") alias e='. $ZDOTDIR/.zshrc' ;;
"ksh"|"oksh") alias e='. ~/.config/kshrc' ;;
esac