diff --git a/zu b/zu deleted file mode 100755 index 6e8db96..0000000 --- a/zu +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env zsh -# "Zhu Li, do the thing!" -# reads a .thing file and does the thing - -if [[ -f .run ]]; then ./.run -elif [[ -f .thing ]]; then ./.thing -elif [[ -f main.py ]]; then uvicorn main:app --reload -elif [[ -f main.go ]]; then go run main.go -elif [[ -f Cargo.toml ]]; then cargo run -elif [[ -f index.html ]]; then python3 -m http.server 8000 -elif [[ -f package.json ]]; then bun install && bun run build && bun run dev -elif [[ -f Package.swift ]]; then swift run -elif [[ -f docker-compose.yml || -f docker-compose.yaml ]]; then docker-compose up -else - echo "Creating a .thing to do the thing" - echo "#!/usr/bin/env zsh" > .thing - $EDITOR .thing - echo "chmod +x .thing" -fi -