shell dispatch works good

This commit is contained in:
bth 2024-01-13 11:23:29 -08:00
commit 611e433ca4
3 changed files with 13 additions and 2 deletions

13
um
View file

@ -3,7 +3,18 @@
# catch first arguments with $1
case "$1" in
next)
~/dev/uldb/bash/next/next.sh $2
NEXTFILE=`./bash/next/next.sh $2`
emacsclient --eval "(progn (find-file \"$NEXTFILE\") (journal))"
;;
last)
./bash/last/last.sh
;;
cat)
# all args but first
./bash/mdcat/mdcat.sh "${@:2}"
;;
rename)
./bash/rename/rename.sh "${@:2}"
;;
*)
# else