One compiled binary renders one curated prompt, the same for everyone. There is no config file, nothing to theme and nothing to tune. It runs on fish, bash and zsh, and renders in about two milliseconds.
~/install One command 1. Run it. The installer detects your platform, checks the download against the published SHA256SUMS , puts the binary in ~/.whetuu/bin , and adds two lines to the config of the shell you actually use. Running it twice changes nothing. $ curl --proto '=https' --tlsv1.2 -fsSL https://yamafaktory.github.io/whetuu/install.sh | sh Copy macOS and Linux · read the script · tarballs and checksums 2. Open a new shell. That is the whole install. Would rather edit your own dotfiles? Run it with WHETUU_NO_MODIFY=1 and it prints the two lines instead of writing them. whetuu init <shell> prints them too, along with the file they belong in. Uninstalling is rm -rf ~/.whetuu plus those lines. You need a Nerd Font. The prompt uses Nerd Font glyphs for the git branch, the language logos and the prompt character. Without one, those show as empty boxes.
~/demo See it in a real shell The prompt tracks the branch, the git status and the toolchain version. Pressing the up arrow opens the history picker, which filters as you type and runs what you pick. demo
~/modules What it shows Left to right, each segment appears only when it is relevant. user_host user@host in bold green, but only over SSH or when you are root, and then in bold red as a warning. directory The current directory with $HOME collapsed to ~. Keeps the anchor plus as many trailing directories as fit the width. git branch Branch glyph and current branch, or (detached), in magenta. git state Any operation underway, in yellow: (rebasing 2/7), (merging), (cherry-picking). Read straight from .git, with no extra subprocess. git status Conflicts, stashes, staged, modified, untracked, ahead and behind, in one bracketed group. language Logo and toolchain version in the brand colour, for 39 languages and tools. Detected from a project manifest, a source file extension, or an infra marker. cmd_duration Timer glyph and elapsed time, when the last command ran for two seconds or more. character A star, purple by default or in the language brand colour. Turns red after a failed command.
~/picker A history picker on the up arrow Commands are recorded once they finish, and only when they exited cleanly, so typos never clutter the list. Each is stored with the directory it ran in. The picker opens scoped to the current directory and falls back to all history when there is none. whetuu history 2d git commit -m "Cache toolchain versions" 1d cd ~/cf/platform && git push -u origin HEAD 17h docker exec -i PGPASSWORD= x db psql 14m nvim ~/.config/fish/config.fish 11m npm ci Rows are syntax highlighted. The command name, flags, paths, variables, quoted strings and operators each take a colour from your terminal theme, so the picker matches the palette you already run. A command too wide for the window loses its middle to a … rather than its end, which keeps a run of commands sharing one long prefix apart. type Filter. Every word must match, ignoring case.
↑ / ↓ Move the selection. Up goes further back in time.
Ctrl+G Switch between this directory's history and all of it.
Tab Copy the selection into the search field to edit or extend.
Enter Run it. When nothing matches any more, runs the text as typed.
Esc Cancel, leaving whatever you had typed on the command line.
... continue reading