سەرەتا گونجان
کاردەکات لەسەر زۆربەی شێڵە باوەکان لەسەر زۆربەی سیستەمە باوەکان. لە هەموو شوێنێک بەکاری بهێنە!
promptـێکی سوکەڵە، خێرا، و بێسنور دڵخوازکراو بۆ هەر شێڵێک!
باینەری starship دابمەزرێنە:
لەگەڵ شێڵ:
curl -sS https://starship.rs/install.sh | shبۆ نوێکردنەوەی Starship خۆی، نووسینەکەی سەرەوە ڕەن بکەوە. وەشانی ئێستا دەگۆڕێت بێ ئەوەی دەسکاری ڕێکخستنەکانی Starship بکات.
لەگەڵ Homebrew:
brew install starshipWith Winget:
winget install starshipنوسینی init زیادبکە بۆ فایلی ڕێکخستنی شێڵەکەت:
ئەمەی خوارەوە زیادبکە لە کۆتایی ~/.bashrc:
# ~/.bashrc
eval "$(starship init bash)"ئەمەی خوارەوە زیادبکە لە کۆتایی ~/.config/fish/config.fish:
# ~/.config/fish/config.fish
starship init fish | sourceئەمەی خوارەوە زیادبکە لە کۆتایی ~/.zshrc:
# ~/.zshrc
eval "$(starship init zsh)"ئەمەی خوارەوە زیادبکە لە کۆتایی Microsoft.PowerShell_profile.ps1. ئەتوانی شوێنی ئەم فایلە ببینیتەوە بە سەیرکردنی گۆڕاوی $PROFILE لە PowerShell. ئاسایی ڕێڕەوەکە بریتیە لە ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 یان /.config/powershell/Microsoft.PowerShell_profile.ps1 لەسەر -Nix.
Invoke-Expression (&starship init powershell)ئەمەی خوارەوە زیادبکە لە کۆتایی ~/.config/ion/initrc:
# ~/.config/ion/initrc
eval $(starship init ion)Only elvish v0.18 or higher is supported.
Add the following to the end of ~/.config/elvish/rc.elv (%AppData%\elvish\rc.elv on Windows):
# ~/.elvish/rc.elv
eval (starship init elvish)For elvish versions prior to v0.21.0 the config file might instead be ~/.elvish/rc.elv
ئەمەی خوارەوە زیادبکە لە کۆتایی ~/.tcshrc:
# ~/.tcshrc
eval `starship init tcsh`This will change in the future. Only Nushell v0.96+ is supported.
Add the following to the end of your Nushell configuration (find it by running $nu.config-path in Nushell):
mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")ئەمەی دێت زیادبکە بۆ کۆتایی پەڕگەی ~/.xonshrc:
# ~/.xonshrc
execx($(starship init xonsh))You need to use Clink (v1.2.30+) with Cmd. Add the following to a file starship.lua and place this file in Clink scripts directory:
-- starship.lua
load(io.popen('starship init cmd'):read("*a"))()