Files
bash-scripts/aliases.sh
2025-09-30 19:49:32 -07:00

13 lines
225 B
Bash

#!/usr/bin/env bash
SCRIPT_DIR="$(dirname $(realpath "$0"))"
function run() {
if [ $# -lt 2 ]; then
echo "Usage: $0 <category> <script> [args...]"
return
fi
bash "$SCRIPT_DIR/$1/$2.sh" ${@:3}
}