darkrc/bin/smartprompt

3 lines
92 B
Bash
Executable file

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