Shell Integration and Hotkeys¶
Shell Extension¶
The installer appends shellExtension.sh (or fish equivalent) to your shell config.
./scripts/install-shell-extension.sh --shell zsh
./scripts/install-shell-extension.sh --shell fish
Default Alias¶
Default alias is ask, configurable during setup or via --alias.
Hotkey Setup via Script¶
Hotkeys are disabled by default when using setup.sh.
./scripts/setup.sh --shell zsh --hotkey '^G'
./scripts/setup.sh --shell zsh --codex-hotkey '^O' --claude-hotkey '^Y'
Remove all existing askllm keybindings:
./scripts/remove-keybindings.sh
If your current Bash session still has TAB remapped, run:
bind '"\C-i": complete'
Environment Variable Controls¶
ASK_HOTKEY_ASKASK_HOTKEY_ASK_CMDASK_HOTKEY_CODEXASK_HOTKEY_CODEX_CMDASK_HOTKEY_CLAUDEASK_HOTKEY_CLAUDE_CMDASK_HOTKEY_CUSTOMASK_HOTKEY_CUSTOM_CMD
Example:
export ASK_HOTKEY_ASK='^G'
export ASK_HOTKEY_ASK_CMD='ask '