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