From 516462576636f27ed78f9937b1695d6eb373995e Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 21 Jun 2025 19:02:16 +0200 Subject: [PATCH] feat(ayo): switch case 1st arg --- ayo.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ayo.sh b/ayo.sh index 70c19e6..4368f9e 100755 --- a/ayo.sh +++ b/ayo.sh @@ -1,5 +1,10 @@ #! /usr/bin/bash -echo '>>> running' $1 - -. ${HOME}/Projects/scripts/$1.sh $2 $3 $4 $5 +case $1 in + j | journal) + . ${HOME}/Projects/scripts/journal.sh + ;; + c | config) + echo 'Config script in-progress' + ;; +esac