Skip to content

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_ASK
  • ASK_HOTKEY_ASK_CMD
  • ASK_HOTKEY_CODEX
  • ASK_HOTKEY_CODEX_CMD
  • ASK_HOTKEY_CLAUDE
  • ASK_HOTKEY_CLAUDE_CMD
  • ASK_HOTKEY_CUSTOM
  • ASK_HOTKEY_CUSTOM_CMD

Example:

export ASK_HOTKEY_ASK='^G'
export ASK_HOTKEY_ASK_CMD='ask '