4 ms·
Or use starship...
by moomin 5y ago
Or use starship...
- mzzter 5y agoWhat is starship? Edit: Found it, it’s a cross-shell prompt. Appears to require a binary install.
- voxadam 5y agohttps://starship.rs/ https://starship.rs/ https://github.com/starship/starship https://github.com/starship/starship
- manjana 5y agoThere is also powerline. https://github.com/powerline/powerline https://github.com/powerline/powerline
- nikolay 5y agoIt's too bloated. It has all kinds of built-in stuff with ugly defaults instead of just providing a framework with plugins.
- pletnes 5y agoIt can be configured and the default has to be something. The main problem is that it’s just too slow, at least in my experience. Even stripped of some bloat it can take >1s to get the prompt printed. Not worth it, at all.
- dolmen 5y agoIf you like framework and plugins, try my own angel-PS1. https://github.com/dolmen/angel-PS1 https://github.com/dolmen/angel-PS1
- nikolay 5y agoGreat job! Thank you!
- dolmen 5y agoContrary to Starship, angel-PS1 gets all static information at startup time (ex: hostname, username) and rebuilds only the dynamic information. And for that dynamic information it uses an angel companion instead of forking and loading the configuration file for every prompt display.
- magnio 5y agoStarship is the only prompt I've used that has (a) sane defaults, (b) cross platform support as well as ease of installation, and (c) good enough speed. Powerline is much slower, and I lose my serenity everytime I have to fiddle with dotfiles.
- swah 5y agoI just got ~/bin via v1.8.0 via v2.7.16 on (us-east-2) [1] even on non-project folders and have no idea why that is being listed. [1] emojis got lost in hn, but it was a coffee cup, a snake and a cloud..
- ec109685 5y agohttps://starship.rs/config/#default-prompt-format https://starship.rs/config/#default-prompt-format