small pixel drawing of a pufferfish dotfiles

bin/short-pwd

1 2 3 4 5 6
#!/bin/sh -e
#
# make a lil pink prompt

term=$(printf "$PWD" | sed -E 's|(\.?[^/])([^/]+)\/|\1/|g')
printf "\033[38;5;162m$term\e[0m"