Skip to content

Instantly share code, notes, and snippets.

@vienkmt
vienkmt / .zshrc
Created October 25, 2025 11:29
Make AI Terminal
alias claude="~/.local/bin/claude"
alias cc="claude"
alias ccd="claude --dangerously-skip-permissions"
# claude_execute: Generate exact shell command from natural language with dangerous command detection
claude_execute() {
emulate -L zsh
setopt NO_GLOB
local query="$*"
local prompt="You are a command line expert. The user wants to run a command but they don't know how. Here is what they asked: ${query}. Return ONLY the exact shell command needed. Do not prepend with an explanation, no markdown, no code blocks - just return the raw command you think will solve their query."