.shrc.d/prompt0-pwd.sh
8d38feea
 __prompt_pwd()
 {
   if [ "$PWD" = "$HOME" ]
   then
     printf "$1" '~'
   else
     printf "$1" "${PWD##?*/}"
   fi
 }