Skip to content

0.3.0

Choose a tag to compare

@github-actions github-actions released this 03 Oct 19:22

This
not very important
text that exists
to create space for the
image on the right will
probably be
replaced when sleepy
author finally gets
some long-awaited
rest. Enjoy the
much
anticipated
release
and try to
pat the new mascot
and radiate
joy

Changelog

NEW

  • New set --tab-selector <plain/interactive/external> option. interactive is the default. Tab selector opens on Tab or Ctrl + Space, filters as you type, and previews the selected entry.
    Ctrl-R history search uses the same interactive menu and also syntax-highlights the commands.
    fzf and external can completion commands can work through --tab-selector external.

  • New set -/+o space-after-completion and set -/+o autocd to change directory without explicit cd.

  • Much more powerful LSP: shell code inside other files can now be linted and formatted in more than 20 different formats.

  • VS Code and Zed extensions, and a Neovim has a ready snippet with format on save.
    See here: VSCode, Zed, Neovim snippet

  • Koshkit with 51 POSIX utilities is now built-in in the binary.
    Koshkit's new inspection tools in the evil... and good... families show processes, I/O, network, disk health, containers, and namespaces.

  • Koshkit's calc is now exact in every mood, and tail -f, find -iname, and ls --tree are new.

  • A lot of new linter warnings.

  • ghcr.io/toiletbril/kosh is an Alpine image for amd64 and aarch64.

Fixes

  • Intrinsic completions now cover export, type, which, date, Makefile recipes, and package.json scripts.

  • Completion engine now safely quotes edge cases.

  • --clean, --language-server, --mimicry, and --optimizer-diagnostics are now --no-init-files, --as-language-server, --enable-mimicry, and --show-optimizer-diagnostics.

  • --show-exit-code reports only failures, and -N reports every status.

Performance

  • Scripts with a lot of functions now parse up to 100x faster. Oops.
  • sort, grep, tail, cat, wc, stat, and ls do two to six times less work, and every recursive tool reads the disk in batches using aio, kqueue, or io_uring when available.

Downloads

The recommended way to install 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

# with Docker, as an Alpine image:
docker run --rm -it "ghcr.io/toiletbril/kosh"

These commands do everything for you automatically, invoked install.sh/ps1 from the scripts/ on the master branch, based on your system.

Below are the attached assets:

Download OS Arch Size
kosh-linux-amd64-0.3.0 Linux x86-64 7.5 MiB
kosh-win32-amd64-0.3.0.exe Windows x86-64 7.5 MiB
kosh-linux-aarch64-0.3.0 Linux AARCH64 6.5 MiB
kosh-darwin-aarch64-0.3.0 macOS Apple Silicon 4.4 MiB

Extras

File Contents Size
kosh.1.zst The kosh(1) manpage 29.7 KiB
kosh.5.zst The kosh(5) manpage 1.1 KiB
kosh.bash The bash-completion script 10.7 KiB

Read README.md or the manpages for usage information. Contact the author if you have any questions, or need help.

New Contributors

Full Changelog: 0.2.0-rc1...0.3.0