Like IntelliSense, but for shells!
IntelliShell acts like a bookmark store for commands, so you don't have to keep your history clean in order to be able
to find something useful with ctrl + R
.
It currently works on Bash and Zsh and should be compatible with Linux, Windows and MacOS.
To install using pre-built binaries:
sh
curl -sSf https://raw.githubusercontent.com/lasantosr/intelli-shell/main/install.sh | $SHELL
If your platform is not supported, you can also install using cargo, which is recommended to be installed using rustup.
sh
cargo install intelli-shell --locked
You'll need to download the source script also:
sh
curl -sSf https://raw.githubusercontent.com/lasantosr/intelli-shell/main/intelli-shell.sh > ~/.local/share/intelli-shell/intelli-shell.sh
After that, you should edit your ~/.bashrc
, ~/.zshrc
or ~/.bash_profile
to source it:
sh
source ~/.local/share/intelli-shell/intelli-shell.sh
You can view supported actions by running intelli-shell -h
. Most used standalone commands are:
intelli-shell fetch [category]
to fetch for commands. [category] can be skipped or a valid folder from tldr's pagesintelli-shell export
to export user-bookmarked commands (won't export tldr's commands)intelli-shell import user_commands.txt
to import commands into the user categoryCtrl + space
to open search UI with the current line pre-populated as the filter
Ctrl + d
Ctrl + b
to bookmark the currently typed commandesc
to clean current line, this binding can be skipped if INTELLI_SKIP_ESC_BIND=1
You can customize key bindings using environment variables: INTELLI_SEARCH_HOTKEY
and INTELLI_SAVE_HOTKEY
You might want to have a look at Marker which is pretty similar but requires Python to be installed on your system.
IntelliShell is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.