6 ms·
I have absolutely no idea what this is.
by 293984j29384 7y ago
I have absolutely no idea what this is.
- framel 7y agoThe cross-shell prompt for astronauts you silly
- kerkeslager 7y agoI'm sort of guessing here, but maybe it's an alternative to GNU Readline. I'm not sure I understand what problems with GNU Readline the authors were trying to solve. It being written in Rust is definitely not a plus, because the toolchains for integrating C are mature in most mainstream languages.
- fortran77 7y agoIt's written in Rust! Give it an upvote--45 other people did.
- johnisgood 7y ago> Rust-Powered > Brings the best-in-class speed and safety of Rust, to make your prompt as quick and reliable as possible. Having it written in Rust does not magically make it "quick" and "reliable", AT ALL. Slow algorithms, logic errors, or anything that constitutes "shitty code" that would make it not quick, and not reliable (whatever this means).
- dsego 7y agoI think the parent's comment ("It's written in Rust! Give it an upvote") is tongue-in-cheek.
- nwah1 7y agoIt looks like a pretty and minimalist theme for various shells, that also provides hints when you are in a source code directory for the git status and the language version. I use powerlevel10k, which is only for zsh. It looks quite similar, aesthetically, but it advertises having the best performance, using a special git status tool. But I know there are other APIs inside of git libraries, and also some rust-based libraries, that could be even faster. Would be interested in a performance comparison. https://github.com/romkatv/powerlevel10k https://github.com/romkatv/powerlevel10k
- bijancn 7y agoJust did a little testing with the performance tool of the powerlevel10k author (https://github.com/romkatv/zsh-prompt-benchmark https://github.com/romkatv/zsh-prompt-benchmark). I configured p10k to look exactly like my starship configuration: Prompt Benchmark Results Warmup duration 8s Benchmark duration 2.023s Benchmarked prompts 50 In blank folder in /tmp // Starship Time per prompt 40.46ms <-- prompt latency (lower is better) In blank folder in /tmp // Powerlevel10k Time per prompt 57.91ms <-- prompt latency (lower is better) In Folder with git // Starship Time per prompt 44.16ms <-- prompt latency (lower is better) In Folder with git // Powerlevel10k Time per prompt 65.58ms <-- prompt latency (lower is better)
- nwah1 7y agoGood work! I will take a look
- dsego 7y agoA command prompt setup, like Spaceship ZSH, Oh My ZSH!, Pure, agkozak etc, but works with bash and fish as well.
- yitchelle 7y agoIf you need to know, you are not the target audience. I don't have a clue either. So I am joining your club.
- mamcx 7y agoA shell prompt? ie: You know you can configure your shell? Ok, this is a good way to do it. Before I use zsh with some plugins. I change to this and suddenly everything is faster (I was blaming iterm for the slowdown)...
- correct_horse 7y agoIt appears to be some sort of wrapper for your shell that includes some extra info (like is there a background process, what version of node is a project running).
- c256 7y agoI had to dig in also. It’s a tool that will change your shell prompt (bash, fish, or zsh) to include information about your environment and project details (Stuff like repo status, dev environment setup, unusual user, etc). Back in the day, we used to do this sort of thing with magic character sequences interpreted by the shell in shell variables, but things like git integration and python virtual_environment support have apparently pushed it over the edge into a separate tool for some people. Hope that helps.