small pixel drawing of a pufferfish dotfiles

bin/short-pwd

1 2 3 4 5 6
#!/bin/sh
#
# /s/h/o/rtness

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