From 8abcc462e9ee03c3e595beb6bc5bcf423fa7db23 Mon Sep 17 00:00:00 2001 From: JTaylor Date: Mon, 7 Dec 2020 10:27:21 -0500 Subject: Add "-a" flag to show all currenlty added projects --- japh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'japh') diff --git a/japh b/japh index 0da6022..106dbbb 100644 --- a/japh +++ b/japh @@ -14,6 +14,10 @@ function japh() { printf "function cd_$2() { cd \"$dir\"; }\n" >> $JAPH_DIR/cmds echo "project added!" ;; + "-a") + # Show the currently added commands + cat $CMD_FILE + ;; "help" | "-h") japh_usage ;; -- cgit v1.2.3