Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 341 Bytes
source ~/.../lib/assert-decent-shell || return
if [ -n "$ZSH_VERSION" ]; then
export SHELLNAME=zsh
elif [ -n "$BASH_VERSION" ]; then
export SHELLNAME=bash
else
echo "This shell isn't known to $DOTDOTDOT_ROOT/lib/set-shellname"
echo "(Please add it and send a Pull Request.)"
export SHELLNAME=${SHELL##*/}
fi
# vim:ft=sh