Shell Shortcuts

Quick aliases for launching Claude Code and Codex.

Setup can add aliases that launch Claude Code and Codex quickly, so you can start working immediately.

Aliases

Alias Expands to
cc claude --dangerously-skip-permissions
ccc claude --dangerously-skip-permissions -c
cx codex
cxc codex resume --last

ccc adds -c to continue the previous Claude Code conversation. cxc resumes the most recent Codex session for the current directory.

Where they are written

Platform File
macOS ~/.zshenv
Linux ~/.zshrc or ~/.bashrc (detected)
Windows ~/Documents/PowerShell/Profile.ps1 (as functions)

Usage

After setup, reload your shell or open a new terminal, then run:

cc
cx

The Claude Code aliases skip permission prompts. Pair them with the security deny rules, which block dangerous commands even when permissions are skipped.