A simple, cross-shell repository for keeping your aliases in one place and installing them on any machine in a single command.
📖 AI Agent Guide: See AGENT_BENCHMARK_GUIDE.md for comprehensive benchmark instructions for AI agents.
aliases.sh— Your shell aliases and functions (works in bash, zsh, and POSIX-compatible shells)bashrc.snippet— Loader snippet for Bash (~/.bashrc)zshrc.snippet— Loader snippet for Zsh (~/.zshrc)install.sh— Idempotent installer scriptpython/vllm_test_infra/— Python infrastructure for vLLM testingscripts/— Python test scripts (gsm8k_eval.py, benchmark_compare.py)bash-scripts/— Legacy bash scripts (deprecated, use Python scripts instead)
One-liner for any machine:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/LucasWilkinson/dot-aliases/main/install.sh)"This will:
- Create
~/.config/aliases/directory - Download
aliases.shto~/.config/aliases/aliases.sh - Add a loader line to your
~/.bashrcor~/.zshrc(idempotent—safe to run multiple times) - Load the aliases in your current session
Open a new shell or run:
source ~/.config/aliases/aliases.shCreate ~/.config/aliases/local.sh for host-specific aliases or secrets. It will automatically be sourced at the end of aliases.sh if it exists:
# ~/.config/aliases/local.sh (not tracked in Git)
alias myhost='ssh user@myhost'
export MY_SECRET_TOKEN="..."Add this alias to your aliases.sh to keep aliases up-to-date:
alias aliases-update='curl -fsSL https://raw.githubusercontent.com/LucasWilkinson/dot-aliases/main/aliases.sh -o ~/.config/aliases/aliases.sh && source ~/.config/aliases/aliases.sh && echo "Aliases updated."'ll—ls -lahla—ls -lal—ls -la
gs—git statusgp—git pull --rebase --autostash && git pushgd—git diffgc—git commitga—git add
v—nvimvi—vim
ports—sudo lsof -i -P -n | grep LISTEN(show listening ports)gpu—nvidia-smior "No NVIDIA GPU"gpumem— Show GPU memory usage
venv— Activate vLLM virtual environmentvllm-code— Jump to vLLM code directoryvllm-build— Rebuild vLLM with CUDA kernelsvllm-test— Run pytest with verbose outputcleanup-vllm— Kill vLLM processes
benchmark— Benchmark current branch (standalone, simplified)benchmark-compare— Compare benchmarks across git branchesgsm8k-eval— Run GSM8K evaluation (from any directory)vllm-test-infra-install— Install Python dependencies for test infrastructure
py/py3— Python shortcutsreload— Reload~/.bashrcaliases-edit— Edit aliases with$EDITORaliases-reload— Reload aliases immediately
cp—cp -i(interactive)mv—mv -i(interactive)rm—rm -i(interactive)
Edit aliases.sh and commit:
cd ~/dot-aliases
# Edit aliases.sh
git add aliases.sh
git commit -m "Update aliases"
git pushThen on any machine, run:
aliases-updateOr force a fresh pull on your current machine:
curl -fsSL https://raw.githubusercontent.com/LucasWilkinson/dot-aliases/main/install.sh | bashA reusable Python infrastructure for running vLLM benchmarks and evaluations with robust server management, process monitoring, and user interfaces.
- Robust Server Management: Auto-detects GPU requirements, uses
chgfor reservation, monitors logs for fast-fail - Process Monitoring: Signal handling, zombie cleanup, timeouts
- Dual UI Modes: Textual-based TUI for interactive use, simple stdout for AI agents
- Git Integration: Branch comparison, automatic builds
- Extensible: Easy to add new test scripts
Install dependencies:
vllm-test-infra-install
# Or manually: pip install -r ~/.config/aliases/dot-aliases/python/requirements.txtBenchmark current branch (from any directory):
benchmark --model deepseek-ai/DeepSeek-V3.2-Exp -tp 8 --rates "1,5,10"Run GSM8K evaluation (from any directory):
gsm8k-eval --model deepseek-ai/DeepSeek-R1 --limit 100Compare benchmarks across branches (from any directory):
benchmark-compare \
--model meta-llama/Meta-Llama-3-8B-Instruct \
--rates 1,5,10 \
--variants 'base::;full::-O.cudagraph_mode=FULL'See python/README.md for full documentation.
- The installer is simple and readable—review it before running
- For extra safety, pin a specific commit:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/LucasWilkinson/dot-aliases/<COMMIT_SHA>/install.sh)" - Use
~/.config/aliases/local.shto keep secrets out of Git
MIT