Extract smart prompt selection to separate script
This commit is contained in:
parent
6386a08291
commit
4acb5c71e7
|
@ -17,5 +17,4 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
git rev-parse --show-toplevel >/dev/null 2>&1 \
|
||||
&& prompt gitlong || prompt normal
|
||||
source smartprompt
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
git rev-parse --show-toplevel >/dev/null 2>&1 && prompt gitlong || prompt normal
|
Loading…
Reference in New Issue