darkrc/bin/smartprompt

4 lines
92 B
Bash
Executable File

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