summaryrefslogtreecommitdiff
path: root/japh
diff options
context:
space:
mode:
authorJTaylor <jtaylor@classicalconversations.com>2020-12-07 10:27:21 -0500
committerJTaylor <jtaylor@classicalconversations.com>2020-12-07 10:27:21 -0500
commit8abcc462e9ee03c3e595beb6bc5bcf423fa7db23 (patch)
treed57b85bf2cce3f465b74da02a31615505c09cc96 /japh
parent405be2d02b72481b7ad40d35e15a6db54cba354d (diff)
Add "-a" flag to show all currenlty added projects
Diffstat (limited to 'japh')
-rw-r--r--japh4
1 files changed, 4 insertions, 0 deletions
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
;;