LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

intelli-shell

IntelliSense-style command template manager for your shell

TLDR

Search saved commands interactively (shell hotkey)
$ # Press Ctrl+Space in your shell
copy
Bookmark the last executed command (shell hotkey)
$ # Press Ctrl+B in your shell
copy
Fix the current command with AI (shell hotkey)
$ # Press Ctrl+X in your shell
copy
Add a command template from the CLI
$ intelli-shell new "[command_template]" -d "[description]"
copy
Search commands from the CLI
$ intelli-shell search "[query]"
copy
Import commands from a file or URL
$ intelli-shell import [path_or_url]
copy
Export your command library
$ intelli-shell export [path]
copy

SYNOPSIS

intelli-shell subcommand [options]

DESCRIPTION

intelli-shell is a cross-platform command template and snippet manager written in Rust. It turns your terminal into a searchable library of commands that can be recalled with a keybinding and expanded with parameterized variables.It integrates with Bash, Zsh, Fish, Nushell, and PowerShell. Once the shell hook is installed, Ctrl+Space opens an interactive fuzzy search over your stored commands, Ctrl+B bookmarks the last executed line, and Ctrl+X asks a configured LLM to fix the current line.Templates support dynamic variables such as `{{file}}` with optional suggestion generators, workspace-local command sets, and tag-based categorization.

SUBCOMMANDS

new

Create a new command template.
search
Search stored commands (optionally interactively).
replace
Replace variables of a given command.
import
Import commands from a file, URL, or Gist.
export
Export commands to a file.
fix
Use an LLM to suggest fixes for a command.
completions
Generate shell completions.

CAVEATS

Shell integration requires sourcing the hook script provided by intelli-shell init in your shell's rc file. AI-powered fixes require configuring an API key (OpenAI, Gemini, Anthropic, etc.) in ~/.config/intelli-shell/config.toml. Workspace awareness relies on .intellishell files in project directories.

HISTORY

intelli-shell is maintained by lasantosr and is written in Rust. It was created to bring IDE-like autocomplete and command management to the terminal.

SEE ALSO

fzf(1), navi(1), atuin(1), mcfly(1)

Copied to clipboard
Kai