bin/short-pwd
#!/bin/sh # # /s/h/o/rtness term=$(printf "$PWD" | sed -E 's|(\.?[^/])([^/]+)\/|\1/|g') printf "\033[38;5;162m$term\e[0m"