Files
starship/docs/ckb-IR/README.md
T

188 lines
5.2 KiB
Markdown
Raw Normal View History

2021-01-26 17:07:13 -05:00
---
home: true
heroImage: /logo.svg
heroText:
2021-05-15 10:29:39 -04:00
tagline: promptـێکی سوکەڵە، خێرا، و بێسنور دڵخوازکراو بۆ هەر شێڵێک!
actionText: دەستپێبکە ←
2021-01-26 17:07:13 -05:00
actionLink: ./guide/
features:
-
2021-05-15 10:29:39 -04:00
title: سەرەتا گونجان
details: کاردەکات لەسەر زۆربەی شێڵە باوەکان لەسەر زۆربەی سیستەمە باوەکان. لە هەموو شوێنێک بەکاری بهێنە!
2021-01-26 17:07:13 -05:00
-
2021-05-15 10:29:39 -04:00
title: Rust لە پشتە
details: باشترینی هاوتاکانی لە خێرایی و سەلامەتی Rust بەکارئەهێنێ بۆ ئەوەی promptـەکەت خێراترین و پشت پێبەستراوین بێ.
2021-01-26 17:07:13 -05:00
-
2021-05-15 10:29:39 -04:00
title: دڵخوازکراو
details: هەموو وردەکارییەکی دڵخواز ئەکرێ بەوجۆرەی حەزت لێیە، بۆ ئەوەی promptـەکە سوکەڵە بێ و پڕ تایبەتمەندی بێت بەوجۆرەی حەزت لێیە ببێ.
footer: لەژێر مۆڵەتی ISCـە | مافی پارێزراوە © 2019-ئێستا بەژداریکەرانی Starship
2021-01-26 17:07:13 -05:00
#Used for the description meta tag, for SEO
2021-05-15 10:29:39 -04:00
metaTitle: "Starship: یەکێ لە Promptـە شێڵ نەناسەکان"
2022-01-15 17:08:31 -05:00
description: 'Starship: یەکێ لە promptـە سوکەڵە، خێرا، و بێسنور دڵخوازکراوەکان بۆ هەر شێڵێک! ئەو زانیارییانە پشان دەدات کە پێویستە، لەوکاتەیا بە ئارامی و سوکەڵەیی ئەمێنێتەوە. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and PowerShell.'
2021-01-26 17:07:13 -05:00
---
<div class="center">
<video class="demo-video" muted autoplay loop playsinline>
<source src="/demo.webm" type="video/webm">
<source src="/demo.mp4" type="video/mp4">
</video>
</div>
2021-05-15 10:29:39 -04:00
### پێشمەرجەکان
2021-04-22 17:12:09 -04:00
2021-05-15 10:29:39 -04:00
- [فۆنتێکی Nerd](https://www.nerdfonts.com/) دامەزراوە و چالاککراوە لە تێرمیناڵەکەتا.
2021-04-22 17:12:09 -04:00
2021-05-15 10:29:39 -04:00
### دامەزراندنی خێرا
2021-01-26 17:07:13 -05:00
2021-05-15 10:29:39 -04:00
1. باینەری **starship** دابمەزرێنە:
2021-01-26 17:07:13 -05:00
2021-05-15 10:29:39 -04:00
#### کۆتا وەشان دابمەزرێنە
2021-01-26 17:07:13 -05:00
2021-05-15 10:29:39 -04:00
لەگەڵ شێڵ:
2021-01-26 17:07:13 -05:00
```sh
2022-03-08 21:11:36 -05:00
curl -sS https://starship.rs/install.sh | sh
2021-01-26 17:07:13 -05:00
```
2022-03-08 21:11:36 -05:00
2021-05-15 10:29:39 -04:00
بۆ نوێکردنەوەی Starship خۆی، نووسینەکەی سەرەوە ڕەن بکەوە. وەشانی ئێستا دەگۆڕێت بێ ئەوەی دەسکاری ڕێکخستنەکانی Starship بکات.
2021-01-26 17:07:13 -05:00
2021-05-15 10:29:39 -04:00
#### دابمەزرێنە لەڕێگەی بەڕێوبەری گورزەوە
2021-01-26 17:07:13 -05:00
2021-05-15 10:29:39 -04:00
لەگەڵ [Homebrew](https://brew.sh/):
2021-01-26 17:07:13 -05:00
```sh
brew install starship
```
2022-10-14 21:53:32 -04:00
With [Winget](https://github.com/microsoft/winget-cli):
2021-01-26 17:07:13 -05:00
```powershell
2022-10-14 21:53:32 -04:00
winget install starship
2021-01-26 17:07:13 -05:00
```
2021-05-15 10:29:39 -04:00
1. نوسینی init زیادبکە بۆ فایلی ڕێکخستنی شێڵەکەت:
2021-01-26 17:07:13 -05:00
#### Bash
2021-05-15 10:29:39 -04:00
ئەمەی خوارەوە زیادبکە لە کۆتایی `~/.bashrc`:
2021-01-26 17:07:13 -05:00
```sh
# ~/.bashrc
eval "$(starship init bash)"
```
#### Fish
2021-05-15 10:29:39 -04:00
ئەمەی خوارەوە زیادبکە لە کۆتایی `~/.config/fish/config.fish`:
2021-01-26 17:07:13 -05:00
```sh
# ~/.config/fish/config.fish
starship init fish | source
```
#### Zsh
2021-05-15 10:29:39 -04:00
ئەمەی خوارەوە زیادبکە لە کۆتایی `~/.zshrc`:
2021-01-26 17:07:13 -05:00
```sh
# ~/.zshrc
eval "$(starship init zsh)"
```
#### Powershell
2021-05-15 10:29:39 -04:00
ئەمەی خوارەوە زیادبکە لە کۆتایی `Microsoft.PowerShell_profile.ps1`. ئەتوانی شوێنی ئەم فایلە ببینیتەوە بە سەیرکردنی گۆڕاوی `$PROFILE` لە PowerShell. ئاسایی ڕێڕەوەکە بریتیە لە `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` یان `/.config/powershell/Microsoft.PowerShell_profile.ps1` لەسەر -Nix.
2021-01-26 17:07:13 -05:00
```sh
Invoke-Expression (&starship init powershell)
```
#### Ion
2021-05-15 10:29:39 -04:00
ئەمەی خوارەوە زیادبکە لە کۆتایی `~/.config/ion/initrc`:
2021-01-26 17:07:13 -05:00
```sh
# ~/.config/ion/initrc
eval $(starship init ion)
```
2021-02-06 12:46:15 -05:00
2021-08-14 09:24:51 -04:00
2021-02-06 12:46:15 -05:00
#### Elvish
2022-05-24 17:19:44 -04:00
::: ئاگادارکردنەوە
Only elvish v0.18 or higher is supported.
:::
2021-02-06 12:46:15 -05:00
2021-05-15 10:29:39 -04:00
ئەمەی خوارەوە زیادبکە لە کۆتایی `~/.elvish/rc.elv`:
2021-02-06 12:46:15 -05:00
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
2021-03-15 13:18:42 -04:00
#### Tcsh
2021-05-15 10:29:39 -04:00
ئەمەی خوارەوە زیادبکە لە کۆتایی `~/.tcshrc`:
2021-03-15 13:18:42 -04:00
```sh
# ~/.tcshrc
eval `starship init tcsh`
```
2021-07-10 17:15:23 -04:00
2021-08-14 09:24:51 -04:00
#### Nushell
2021-07-10 17:15:23 -04:00
2022-05-24 17:19:44 -04:00
::: ئاگادارکردنەوە
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-path` in Nushell):
2022-03-24 15:47:11 -05:00
```sh
mkdir ~/.cache/starship
starship init nu | save ~/.cache/starship/init.nu
2021-07-10 17:15:23 -04:00
```
2021-08-14 09:24:51 -04:00
2022-03-24 15:47:11 -05:00
And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
```sh
source ~/.cache/starship/init.nu
```
2021-08-14 09:24:51 -04:00
#### Xonsh
2021-12-21 00:05:59 +03:00
ئەمەی دێت زیادبکە بۆ کۆتایی پەڕگەی `~/.xonshrc`:
2021-08-14 09:24:51 -04:00
```sh
# ~/.xonshrc
execx($(starship init xonsh))
```
2022-01-15 17:08:31 -05:00
#### Cmd
You need to use [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) with Cmd. Add the following to a file `starship.lua` and place this file in Clink scripts directory:
```lua
-- starship.lua
load(io.popen('starship init cmd'):read("*a"))()
```