Repository navigation
This release includes several quality of life additions.
Make sure to rock'n'roll.
₍₍⚞(˶ˆᗜˆ˵)⚟⁾⁾
TL;DR
Koshka 0.4.2 lets you browse directories from Tab completion, search for files by pattern, like FZF, to quickly insert them as arguments. You can now also edit piped text with slurp. editor.request_extended_key_report=off now supports shortcuts across keyboard layouts.
Changelog
- Tab completion now previews files, directory contents, and symlink targets. Press Right to open a directory or Ctrl-Left to go back without changing your shell's working directory.
- Press Ctrl-X Ctrl-F from the Tab menu to open the fuzzy file picker at the path you're typing. You can select a result immediately or press Escape to return to the same highlighted completion.
- The file picker supports recursive smartcase glob searches. For example,
*.jpgfinds both.jpgand.JPGfiles below the search directory, while*.JPGmatches only the uppercase extension. slurpnow accepts piped or redirected input without a-operand. It writes only the last explicitly saved text to standard output. Quitting without saving produces no output and returns status 1.- Ctrl and Alt shortcuts now work across keyboard layouts on POSIX terminals that report base-layout keys. This includes chords such as Ctrl-X Ctrl-F.
- The default SSH prompt shows one
<after the hostname per hop whenKOSH_SSH_NESTINGis forwarded. - PS1 and RPS1 can be passed through
KOSHCONFwhen both shells setprompt_in_koshconf_env=on. This is off by default because prompts can run command substitutions. - Command substitutions and completion callbacks now preserve the caller's shell state, and foreground koshkit pipeline stages can be interrupted with Ctrl-C.
- The existing
editor.request_extended_key_reportsetting now supports shortcuts across keyboard layouts. When it is on, Koshka can use the base-layout key reported by a compatible POSIX terminal. Set it to off if shortcuts work only with legacy keyboard reporting. In that mode, Ctrl-Tab may be indistinguishable from Tab. - Koshka can now run on Android.
- Minor bugfixes.
New Contributors
Downloads
The recommended way to install or update is to run:
# on Linux, macOS, or any system with a POSIX shell:
curl -fsSL "https://fennec.support/kosh/install" | sh
# on Windows, Powershell:
irm "https://fennec.support/kosh/install" | iex
# on Linux or macOS, with Homebrew:
brew tap fennec-support/kosh
brew install fennec-support/kosh/kosh
# with Docker, as an Alpine image:
docker run --rm -it "ghcr.io/fennec-support/kosh"These commands do everything for you automatically, invoked install.sh/ps1 from the scripts/ on the master branch, based on your system.
Please check the editor integrations:
| VS Code | Zed | Neovim |
|---|---|---|
| kosh-vscode | kosh-zed | kosh.nvim |
Read README.md or the manpages for usage information. Contact the author if you have any questions, or need help.
Full Changelog: 0.4.1...0.4.2