# Shell Aliases

Useful aliases for daily Voxcode workflows.

## Recommended Aliases

Add to your `~/.bashrc`, `~/.zshrc`, or equivalent:

```bash
# Shortcut aliases
alias vx='voxcode'
alias vxp='voxcode -p'

# Continue last session
alias vxc='voxcode --continue'

# One-shot with JSON output (great for scripts)
alias vxj='voxcode --json -p'

# Set a specific model
alias vx-claude='voxcode -m claude-sonnet-4-20250514'
alias vx-gpt='voxcode -m gpt-4o'

# Offline mode (no network calls)
alias vx-offline='VOXCODE_OFFLINE=1 voxcode'
```

## Example Workflows

```bash
# Quick code review
vxp "Review the diff in src/ and suggest improvements"

# Generate tests for a file
vxp "Write unit tests for src/session.ts"

# Continue where you left off yesterday
vxc
```

## Fish Shell

For fish users, use `alias` with `--save` or add to `~/.config/fish/config.fish`:

```fish
alias vx='voxcode'
alias vxp='voxcode -p'
```

Adjust aliases to match your shell and team conventions.
