darkrc/bin/smartprompt

4 lines
92 B
Text
Raw Normal View History

#!/bin/sh
git rev-parse --show-toplevel >/dev/null 2>&1 && prompt gitlong || prompt normal