Skip to main content

Module shell

Module shell 

Source
Expand description

Shell integration: the snippet each shell needs, and where it goes.

The keybinding has to live inside the shell process, so there is no way to set it up without touching a profile file. Every tool in this category works the same way.

Modules§

chord
The key that opens the picker, written once and translated per shell.

Structs§

Profile
A profile file the integration can be written into.

Enums§

Shell
Shells that lore ships a keybinding integration for.

Functions§

detect
The shell that invoked lore, as far as it can be told.
init_line
The single line a profile needs.
install
Adds the integration to every profile for shell.
profiles
Every profile that needs the integration for this shell.
snippet
The integration code for a shell, with the chord written into it.
uninstall
Removes the integration from every profile for shell.