Whetuu is a newly released cross-shell prompt developed in Zig, designed to provide contextual information directly within the command line. Its primary goal is to offer a zero-configuration setup, simplifying the installation process for users across different shell environments.
Installation of Whetuu is a one-command process that automatically detects the platform, places the binary, and modifies shell configuration files. Users can opt out of automatic configuration modification and manually integrate the prompt into their dotfiles. A Nerd Font is required for proper display of glyphs for Git branches, language logos, and the prompt character.
The prompt displays various pieces of information, appearing only when relevant. This includes user and host details (especially for SSH or root sessions), the current directory with `$HOME` collapsed, Git branch and state (rebasing, merging, cherry-picking), and Git status (conflicts, stashes, staged, modified, untracked, ahead/behind). It also shows the language logo and toolchain version for 39 languages, detected from project manifests or source files, and command duration for commands running two seconds or longer.
Whetuu integrates a history picker, activated by the up arrow key, which filters as the user types. Commands are recorded only upon clean exit and are stored with the directory they were executed in. The picker scopes to the current directory initially, falling back to full history if no relevant commands are found in the current context. Rows in the picker are syntax highlighted for improved readability.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Whetuu is a new cross-shell prompt written in Zig that offers zero-configuration installation and displays contextual information like Git status, user/host, directory, language toolchain versions, and command duration. It includes a history picker accessible via the up arrow, which filters commands and stores them with their execution directory, enhancing command-line efficiency for developers.