Starship/en: Difference between revisions
Updating to match new version of source page |
Updating to match new version of source page |
||
| Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
[https://starship.rs/ Starship] is a fast, customizable, and minimal prompt for any shell. written in Rust | [https://starship.rs/ Starship] is a fast, customizable, and minimal prompt for any shell. It is written in Rust and displays relevant information like the current directory, Git status, runtime versions, and more, adapting to the context with minimal configuration. It supports multiple shells, including [[Bash]], [https://wiki.nixos.org/wiki/Zsh Zsh], [https://wiki.nixos.org/wiki/Fish Fish], PowerShell and a lot of other shells, and your configuration will stay persistent across all these shells and is designed for speed and efficiency. | ||
== Installation == | == Installation == | ||
| Line 24: | Line 24: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Using Home | === Using Home Manager === | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
| Line 46: | Line 46: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
after you have installed | after you have installed Starship you need to source it in your shell | ||
Bash: | Bash: | ||
| Line 70: | Line 70: | ||
=== Advanced === | === Advanced === | ||
you can customize | you can customize Starship with Nix (here's a snippet to understand) | ||
<nowiki>:</nowiki> | <nowiki>:</nowiki> | ||
| Line 89: | Line 89: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
since we can't include every option on Starship here's a GitHub link <noinclude> [https://gist.github.com/s-a-c/0e44dc7766922308924812d4c019b109#file-starship-nix/ containing every configuration option] </noinclude> and here's the official documentation to explain each option [https://starship.rs/config/ | since we can't include every option on Starship here's a GitHub link <noinclude> [https://gist.github.com/s-a-c/0e44dc7766922308924812d4c019b109#file-starship-nix/ containing every configuration option] </noinclude> and here's the official documentation to explain each option [https://starship.rs/config/ Starship configuration guide] | ||
good luck :D | good luck :D | ||
[[Category:Shell]] | [[Category:Shell]] | ||