# https://github.com/ranger/ranger/blob/master/doc/ranger.1 __prompt_ranger() { if [ "${RANGER_LEVEL:-}" ] then printf "$1" "$RANGER_LEVEL" fi }