git.rcrnstn.net
browsing:
8d38feeac96a59af392939d885d0113297e9f579
Branches
master
Files
Commits
Stats
Network
Graph
rcrnstn/dotfiles-prompt
.shrc.d
prompt0-pwd.sh
Raw
Blame
Patch Log
History
__prompt_pwd() { if [ "$PWD" = "$HOME" ] then printf "$1" '~' else printf "$1" "${PWD##?*/}" fi }