pure-fish/pure
关于
受 sindresorhus/pure 启发的美观、简洁且快速的 Fish shell 提示符
开发工具可以做什么
- Change ❯ to red when previous command has failed 🛠 ;
- Start prompt with current working directory 🏴 ;
- Compact-mode (single-line prompt) 🏴 ;
- List exit statuses if the last command failed 🏴 ;
实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- +3
- 1个月
- +5
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Pure ❯❮❯
Pretty, minimal and fast Fish 🐟 prompt, ported from
zsh.
Documentation
:sparkles: Check-out our brand-new documentation for configurations, features and colours as well as contributing guide.
:rocket: Install
:warning: requirements: install Fish shell ≥3.x, then install Fisher plugin manager:
fisher install pure-fish/pure
Features
Fully customizable (colors, symbols and features):
Detect when running in a container (e.g.
docker,podman,LXC/LXD) 🏴🛠[Prefix in private mode 🏴🛠][working-in-private-mode] ;
-
- Display
*whengitrepository is dirty ; - Display
≡whengitrepository is stashed ; - Display
⇡when branch is ahead (commits to push) ; - Display
⇣when branch is behind (commits to pull) ; - Display the number of stashes, ahead and behind commits (e.g.
≡3 ⇡5 ⇣2) ; - Async update when configured with fish-async-prompt ;
- Display
and more…
🏴 means it's controlled by a feature flag, 🛠 means it's configurable.
Configuration
See How to configure pure prompt?
Features' Flags
See Features and their respective options.
:heart: Contribute
If you have any ideas or suggestions, we encourage you to submit a pull request. Our team will review and discuss your contribution.
Checkout our Contribution Guide to get familiar with our conventions and requirements.
:man_technologist: People
- Édouard Lopez product lead ;
- @andreiborisov for the docker images ;
- @jorgebucaran for fishtape ;
- @rafaelrinaldi for starting the project and publishing the initial releases
MIT License
Ports
- Original sindresorhus/pure Zsh implementation ;
- :fish: pure-fish/pure Fish implementation (features rich) ;
- :snake: edouard-lopez/pure.py Python implementation (partial features) ;
- :goat: edouard-lopez/pure.go Golang implementation (partial features) ;
- :gear: xcambar/purs Rust implementation ;
- :window: nickcox/pure-pwsh PowerShell implementation.
- :shell: krashikiworks/pure-prompt-bash Bash implementation.
探索相关项目
加载中…


