Show HN: Whetuu – a zero-config cross-shell prompt written in Zig
31–40 of 40 posts
Re: Show HN: Whetuu – a zero-config cross-shell prompt written in Zig
#32Re: Show HN: Whetuu – a zero-config cross-shell prompt written in Zig
#33Earlier quoted context omitted.
The XDG Base Directory spec covers config/data/cache/state, it does not define where executables go. Whetuu history & cache are both compliant as both go to respectively ~/.local/share/whetuu/ ($XDG_DATA_HOME) & ~/.cache/whetuu/ ($XDG_CACHE_HOME).Atuin, cargo and many other tools are doing the same. By the way, Atuin also rebinds the up arrow.
The XDG Base Directory spec covers config/data/cache/state, it does not define where executables go. it does: https://specifications.freedesktop.org/basedir/latest/ User-specific executable files may be stored in $HOME/.local/bin. Distributions should ensure this directory shows up in the UNIX $PATH environment variable, at an appropriate place. i prefer ~/bin/ but this is better than creating you own directory that…
Re: Show HN: Whetuu – a zero-config cross-shell prompt written in Zig
#34a few questions: i am confused by this line: 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. this sounds like a nerdfont needs to be installed manually. but that doesn't seem to be the case because it just seems to work. and i don't remember installing such a font. i also wonder what version it is showing w…
Re: Show HN: Whetuu – a zero-config cross-shell prompt written in Zig
#35This isn't news, the real news is that the AI tooling allows YOU (specifically) to have a custom prompt tool built specifically for you, in the same or less effort it would take to set up one of the existing prompt tools. For example, I liked the idea of this but had no interest in the shell history integration; I use atuin. So I had codex build me one, including the 250ms wait for git, and if git takes longer than t…
Re: Show HN: Whetuu – a zero-config cross-shell prompt written in Zig
#36Earlier quoted context omitted.
The XDG Base Directory spec covers config/data/cache/state, it does not define where executables go. Whetuu history & cache are both compliant as both go to respectively ~/.local/share/whetuu/ ($XDG_DATA_HOME) & ~/.cache/whetuu/ ($XDG_CACHE_HOME).Atuin, cargo and many other tools are doing the same. By the way, Atuin also rebinds the up arrow.
We’ve been over this. Atuin is not a shell prompt.
Re: Show HN: Whetuu – a zero-config cross-shell prompt written in Zig
#37this looks like an excellent, non-rust alternative to starship. nice job.
Re: Show HN: Whetuu – a zero-config cross-shell prompt written in Zig
#38a few questions: i am confused by this line: 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. this sounds like a nerdfont needs to be installed manually. but that doesn't seem to be the case because it just seems to work. and i don't remember installing such a font. i also wonder what version it is showing w…
If you see the glyphs correctly, you're very likely having Nerd Font installed. If not in git, it will show https://yamafaktory.github.io/whetuu/#modules . And to edit an entry in the list, hit tab :).
Re: Show HN: Whetuu – a zero-config cross-shell prompt written in Zig
#39Re: Show HN: Whetuu – a zero-config cross-shell prompt written in Zig
#40Earlier quoted context omitted.
If you see the glyphs correctly, you're very likely having Nerd Font installed. If not in git, it will show https://yamafaktory.github.io/whetuu/#modules . And to edit an entry in the list, hit tab :).
Actually regarding the Nerd Font point, you might be using a terminal supporting it out the box. I'll adjust the readme and the landing page accordingly.