small pixel drawing of a pufferfish dotfiles

bin/short-pwd

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

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

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