Repository navigation
Limon 1.2.0
Upgrade notes
- Bash 4.4 or newer is now required. Limon's native timer uses Bash 4.4's
PS0support so it no longer needs a globalDEBUGtrap. - Release archives are about 2.3 MB larger because they bundle the
architecture-independent ble.sh runtime. No compiler, platform-specific
binary, or runtime download is required.
Added
- Fish/Zsh-style inline ghost autosuggestions for command history, commands,
paths, and programmable completions. Right Arrow or End accepts the full
suggestion; Ctrl+Right accepts one word; Tab remains normal completion. - Autosuggestions are enabled by default and can be controlled with
autosuggest=0|1,autosuggest_delay=0..2000, and
autosuggest_color=auto|0..255. - Limon reuses an already-loaded ble.sh session or loads its bundled pinned
copy.limon statusandlimon healthreport the editor, hook provider, and
bash-completion state. - PTY coverage for rendering and accepting a real history suggestion, plus
lifecycle tests for scalar and arrayPROMPT_COMMANDvalues.
Changed
- The command timer and prompt renderer use ble.sh's public
PREEXECand
PRECMDhooks when its editor is active. The native fallback usesPS0and
a composablePROMPT_COMMANDentry. - Bash 5.1+ preserves
PROMPT_COMMANDas an array. Bash 4.4-5.0 uses an exact,
removable scalar prefix and does not restore a stale startup snapshot. - The bundled editor enables only ghost suggestions: syntax highlighting,
completion menus, EOF markers, and other visual ble.sh defaults are disabled. limon offdisables every Limon-owned editor feature and hook. A bundled
ble.sh runtime already sourced into the current Bash process stays resident
but inert until that shell exits; ble.sh does not support a silent full
unload back into Readline.- The installer no longer forces
TERM=xterm-256colorand now safely quotes
installed paths written to.bashrc.
Fixed
limon offremoves only Limon-owned hooks and restores an existing ble.sh
configuration without detaching a user-owned editor.- Existing
DEBUGtraps are no longer replaced by Limon, fixing compatibility
with debuggers and other shell frameworks.
Install
curl -fsSL https://raw.githubusercontent.com/faridrasidov/limon/master/get-limon.sh | bashOr download an archive below and run bash limon-1.2.0/install.sh.
Verify a download with sha256sum -c SHA256SUMS --ignore-missing.