small pixel drawing of a pufferfish dotfiles

bin/short-pwd

1 2 3 4 5
#!/bin/sh

term=$(printf "$PWD" | sed -E 's|(\.?[^/])([^/]+)\/|\1/|g')

printf "\033[01;90m$term\e[0m"