Starship – Cross-shell prompt

GitHub Actions workflow status إصدار Crates.io Packaging status
الدردشة على Discord تابع @StarshipPrompt على تويتر

الموقع · التثبيت · الإعدادات

English   Deutsch   Español   Français   Bahasa Indonesia   Italiano   日本語   Português do Brasil   Русский   Tiếng Việt   简体中文   繁體中文

Starship with iTerm2 and the Snazzy theme **The minimal, blazing-fast, and infinitely customizable prompt for any shell!** - **سريع:** إنها سريعة – _سريعة_ حقاً! 🚀 - **Customizable:** configure every aspect of your prompt. - **Universal:** works on any shell, on any operating system. - **Intelligent:** shows relevant information at a glance. - **كثيرة المزايا:** دعم لجميع الأدوات المفضلة لديك. - **سهل:** سريع التثبيت – استخدمه في دقائق.

تصفّح مستندات Starship  ▶

## 🚀 التثبيت ### المتطلبات الأساسية - تثبيت [Nerd Font](https://www.nerdfonts.com/) وتمكينه في موجه الأوامر الخاصة بك (على سبيل المثال، جرب [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). ### البدء مع Starship **Note**: due to the proliferation of different platforms, only a subset of supported platforms are shown below. Can't see yours? Have a look at the [extra platform instructions](https://starship.rs/installing/). 1. تثبيت **starship**: #### تثبيت أحدث إصدار ##### From prebuilt binary, with Shell: ```sh sh -c "$(curl -fsSL https://starship.rs/install.sh)" ``` لتحديث Starship نفسه، أعد تشغيل البرنامج النصي أعلاه. سيتم استبدال الإصدار الحالي بدون لمس تكوين Starship. **ملاحظة** - يمكن تجاوز الإعدادات الافتراضية لنص التثبيت لرؤية المساعدة المدمجة. ```sh sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --help ``` #### التثبيت عبر مدير الحزم ##### بإستخدام [Homebrew](https://brew.sh/): ```sh brew install starship ``` ##### بإستخدام [Scoop](https://scoop.sh): ```powershell scoop install starship ``` 2. أضف ما يلي إلى ملف تكوين موجه الأوامر الخاص بك: #### Bash أضف ما يلي إلى نهاية `~/.bashrc`: ```sh # ~/.bashrc eval "$(starship init bash)" ``` #### Fish أضف ما يلي إلى نهاية `~/.config/fish/config.fish`: ```sh # ~/.config/fish/config.fish starship init fish | source ``` #### Zsh أضف ما يلي إلى نهاية `~/.zshrc`: ```sh # ~/.zshrc eval "$(starship init zsh)" ``` #### PowerShell Add the following to the end of `Microsoft.PowerShell_profile.ps1`. You can check the location of this file by querying the `$PROFILE` variable in PowerShell. Typically the path is `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` or `~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix. ```powershell Invoke-Expression (&starship init powershell) ``` #### Ion أضف ما يلي إلى نهاية `~/.config/ion/initrc`: ```sh # ~/.config/ion/initrc eval $(starship init ion) ``` #### Elvish **Warning** Only elvish v0.17 or higher is supported. أضف ما يلي إلى نهاية `~/.elvish/rc.elv`: ```sh # ~/.elvish/rc.elv eval (starship init elvish) ``` #### Tcsh أضف ما يلي إلى نهاية `~/.tcshrc`: ```sh # ~/.tcshrc eval `starship init tcsh` ``` #### Xonsh أضف ما يلي إلى نهاية `~/.xonshrc`: ```sh # ~/.xonshrc execx($(starship init xonsh)) ``` #### 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"))() ``` #### Nushell **Warning** This will change in the future. فقط إصدار nu v0.33 أو أعلى مدعوم. Add the following to your nu config file. يمكنك التحقق من موقع هذا الملف عن طريق تشغيل `config path` في nu. ```toml startup = [ "mkdir ~/.cache/starship", "starship init nu | save ~/.cache/starship/init.nu", "source ~/.cache/starship/init.nu" ] prompt = "starship_prompt" ``` ## 🤝 المساهمة نبحث دائماً عن مساهمين من **جميع المستويات**! إذا كنت تتطلع إلى تسهيل طريقك إلى المشروع، جرب [إنشاء اول مشكلة](https://github.com/starship/starship/labels/🌱%20good%20first%20issue). إذا كنت تتحدث بطلاقة بلغة غير إنجليزية، فإننا نقدر أي مساعدة للحفاظ على ترجمة المستندات وتحديثها بلغات أخرى. إذا كنت ترغب في المساعدة، يمكن المساهمة بالترجمة على [Starship Crowdin](https://translate.starship.rs/). إذا كنت مهتما بالمساهمة في starship، يرجى إلقاء نظرة على [دليل المساهمة](https://github.com/starship/starship/blob/master/CONTRIBUTING.md) لدينا. أيضا، لا تتردد في أن تنضم لنا في [Discord](https://discord.gg/8Jzqu3T) وقُل مرحبا. 👋 ## 💭 مستوحاة من قبل يرجى التحقق من هذه الأعمال السابقة التي ساعدت على إنشاء starship. 🙏 - **[denysdovhan/spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt)** - A ZSH prompt for astronauts. - **[denysdovhan/robbyrussell-node](https://github.com/denysdovhan/robbyrussell-node)** - Cross-shell robbyrussell theme written in JavaScript. - **[reujab/silver](https://github.com/reujab/silver)** - A cross-shell customizable powerline-like prompt with icons.


Starship rocket icon

## 📝 الترخيص Copyright © 2019-present, [Starship Contributors](https://github.com/starship/starship/graphs/contributors).
This project is [ISC](https://github.com/starship/starship/blob/master/LICENSE) licensed.