5.2 KiB
home, heroImage, heroText, tagline, actionText, actionLink, features, footer, metaTitle, description
| home | heroImage | heroText | tagline | actionText | actionLink | features | footer | metaTitle | description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| true | /logo.svg | promptـێکی سوکەڵە، خێرا، و بێسنور دڵخوازکراو بۆ هەر شێڵێک! | دەستپێبکە ← | ./guide/ |
|
لەژێر مۆڵەتی ISCـە | مافی پارێزراوە © 2019-ئێستا بەژداریکەرانی Starship | Starship: یەکێ لە Promptـە شێڵ نەناسەکان | Starship: یەکێ لە promptـە سوکەڵە، خێرا، و بێسنور دڵخوازکراوەکان بۆ هەر شێڵێک! ئەو زانیارییانە پشان دەدات کە پێویستە، لەوکاتەیا بە ئارامی و سوکەڵەیی ئەمێنێتەوە. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and PowerShell. |
پێشمەرجەکان
- فۆنتێکی Nerd دامەزراوە و چالاککراوە لە تێرمیناڵەکەتا.
دامەزراندنی خێرا
-
باینەری starship دابمەزرێنە:
کۆتا وەشان دابمەزرێنە
لەگەڵ شێڵ:
curl -sS https://starship.rs/install.sh | shبۆ نوێکردنەوەی Starship خۆی، نووسینەکەی سەرەوە ڕەن بکەوە. وەشانی ئێستا دەگۆڕێت بێ ئەوەی دەسکاری ڕێکخستنەکانی Starship بکات.
دابمەزرێنە لەڕێگەی بەڕێوبەری گورزەوە
لەگەڵ Homebrew:
brew install starshipWith Winget:
winget install starship -
نوسینی init زیادبکە بۆ فایلی ڕێکخستنی شێڵەکەت:
Bash
ئەمەی خوارەوە زیادبکە لە کۆتایی
~/.bashrc:# ~/.bashrc eval "$(starship init bash)"Fish
ئەمەی خوارەوە زیادبکە لە کۆتایی
~/.config/fish/config.fish:# ~/.config/fish/config.fish starship init fish | sourceZsh
ئەمەی خوارەوە زیادبکە لە کۆتایی
~/.zshrc:# ~/.zshrc eval "$(starship init zsh)"Powershell
ئەمەی خوارەوە زیادبکە لە کۆتایی
Microsoft.PowerShell_profile.ps1. ئەتوانی شوێنی ئەم فایلە ببینیتەوە بە سەیرکردنی گۆڕاوی$PROFILEلە PowerShell. ئاسایی ڕێڕەوەکە بریتیە لە~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1یان/.config/powershell/Microsoft.PowerShell_profile.ps1لەسەر -Nix.Invoke-Expression (&starship init powershell)Ion
ئەمەی خوارەوە زیادبکە لە کۆتایی
~/.config/ion/initrc:# ~/.config/ion/initrc eval $(starship init ion)Elvish
::: ئاگادارکردنەوە
Only elvish v0.18 or higher is supported.
:::
ئەمەی خوارەوە زیادبکە لە کۆتایی
~/.elvish/rc.elv:# ~/.elvish/rc.elv eval (starship init elvish)Tcsh
ئەمەی خوارەوە زیادبکە لە کۆتایی
~/.tcshrc:# ~/.tcshrc eval `starship init tcsh`Nushell
::: ئاگادارکردنەوە
This will change in the future. Only Nushell v0.61+ is supported.
:::
Add the following to to the end of your Nushell env file (find it by running
$nu.env-pathin Nushell):mkdir ~/.cache/starship starship init nu | save ~/.cache/starship/init.nuAnd add the following to the end of your Nushell configuration (find it by running
$nu.config-path):source ~/.cache/starship/init.nuXonsh
ئەمەی دێت زیادبکە بۆ کۆتایی پەڕگەی
~/.xonshrc:# ~/.xonshrc execx($(starship init xonsh))Cmd
You need to use Clink (v1.2.30+) with Cmd. Add the following to a file
starship.luaand place this file in Clink scripts directory:-- starship.lua load(io.popen('starship init cmd'):read("*a"))()