summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJTaylor <jtaylor@classicalconversations.com>2021-02-19 12:14:23 -0500
committerJTaylor <jtaylor@classicalconversations.com>2021-02-19 12:14:23 -0500
commit8e999dd1fc23077a6cab56ce667c640f4473346b (patch)
treee1f5693fd113481f907a36212219565179687456
parent89608ba38023e7c0318301eaff6bab0b93282394 (diff)
Run git status in git directories upon switchingHEADmaster
-rw-r--r--japh1
1 files changed, 1 insertions, 0 deletions
diff --git a/japh b/japh
index 96ae887..b9b8af1 100644
--- a/japh
+++ b/japh
@@ -73,6 +73,7 @@ function japh() {
if [ $status -eq 0 ];
then
cd_$1
+ [ -d .git ] && git status;
else
echo "Command was not found!"
japh_usage