-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: revamp feature list and link readme to doc
* fix markdown errors
- Loading branch information
1 parent
536ce3a
commit 71b541c
Showing
13 changed files
with
149 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: | |
branches: | ||
- master | ||
paths: | ||
- docs/ | ||
- docs/**/* | ||
|
||
pull_request: | ||
# types: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
default: true | ||
extends: null | ||
MD007: false | ||
MD013: false | ||
MD033: | ||
allowed_elements: | ||
- br | ||
- img | ||
- div | ||
- a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,55 @@ | ||
<!-- markdownlint-disable MD041 --> | ||
### Overview | ||
|
||
Fully **customizable** (colors, symbols and features): | ||
|
||
* Excellent prompt character `❯` : | ||
* Change `❯` to red when previous command has failed ; | ||
* Start prompt with _current working directory_ 🏴 ; | ||
* Compact-mode (single-line prompt) 🏴 ; | ||
* Display _current folder_ tail ; | ||
* check for new release on start 🏴 ; | ||
* Display _username_ and _hostname_ when in an `SSH` session ; | ||
* Display command _duration_ when longer than `5` seconds ; | ||
* Display `Python` _virtualenv_ when activated 🏴 ; | ||
* Display `VI` mode and custom symbol for non-insert mode 🏴 ; | ||
* Display `kubernetes` context and namespace 🏴 ; | ||
* Display container indicator (e.g. `docker`, `podman`, `LXC`/`LXD`) 🏴 | ||
* Show system time 🏴 ; | ||
* Show number of running jobs 🏴 ; | ||
* Prefix when `root` 🏴 ; | ||
* Display `git` branch name 🏴 ; | ||
* Display `*` when `git` repository is _dirty_ ; | ||
* Display `≡` when `git` repository is _stashed_ ; | ||
* Display `⇡` when branch is _ahead_ (commits to push) ; | ||
* Display `⇣` when branch is _behind_ (commits to pull) ; | ||
* Async update when [configured with fish-async-prompt](https://github.com/pure-fish/pure/wiki/Async-git-Prompt) ; | ||
* Update terminal title with _current folder_ and _command_ ; | ||
* Detect when running in a container ; | ||
* Shorten _current folder_ component 🏴; | ||
* [Excellent prompt character `❯` 🛠][prompt-symbol]: | ||
|
||
🏴: Enabled or disabled via a [feature flag](#-features-flags). | ||
* [Change `❯` to red when previous command has failed 🛠][separate-error-symbol] ; | ||
* [Start prompt with _current working directory_ 🏴][current-working-directory] ; | ||
* [Compact-mode (single-line prompt) 🏴][single-line-prompt] ; | ||
|
||
* [Check for new release on start 🏴🐌][check-for-new-release] ; | ||
* [Display _username_ and _hostname_ when in an `SSH` session 🛠][ssh-session] ; | ||
* [Display command _duration_ when longer than `5` seconds 🛠][time-duration] ; | ||
* [Display `Python` _virtualenv_ when activated 🏴🛠][python-virtualenv] ; | ||
* [Display `VI` mode and custom symbol for non-insert mode 🏴🛠][vi-mode] ; | ||
* [Display `kubernetes` context and namespace 🏴🛠][kubernetes] ; | ||
* [Detect when running in a container (e.g. `docker`, `podman`, `LXC`/`LXD`) 🏴🛠][container-detection-docker] | ||
* [Indicate if a `nix develop` shell is activated 🏴🛠][nix-os]. | ||
* [Show system time 🏴][time-duration] ; | ||
* [Show number of running jobs 🏴][jobs] ; | ||
* [Prefix when `root` 🏴🛠][working-as-root] ; | ||
* [Display `git` branch name 🏴🛠][git] ; | ||
|
||
* Display `*` when `git` repository is _dirty_ ; | ||
* Display `≡` when `git` repository is _stashed_ ; | ||
* Display `⇡` when branch is _ahead_ (commits to push) ; | ||
* Display `⇣` when branch is _behind_ (commits to pull) ; | ||
* [Async update when configured with fish-async-prompt][async] ; | ||
|
||
* [Update terminal title with _current folder_ and _command_ 🛠][title] ; | ||
* [Shorten or truncate _current folder_ component 🏴🛠][current-working-directory] ; | ||
* and more… | ||
|
||
🏴 means it's controlled by a feature flag, 🛠 mean it's configurable. | ||
|
||
[async]: https://github.com/pure-fish/pure/wiki/Async-git-Prompt | ||
<!-- markdownlint-disable MD051 --> | ||
[check-for-new-release]: #check-for-new-release | ||
[container-detection-docker]: #container-detection-docker | ||
[current-working-directory]: #current-working-directory | ||
[git]: #git | ||
[jobs]: #jobs | ||
[kubernetes]: #kubernetes | ||
[nix-os]: #nix-os | ||
[prompt-symbol]: #prompt-symbol | ||
[python-virtualenv]: #python-virtualenv | ||
[separate-error-symbol]: #separate-error-symbol | ||
[single-line-prompt]: #single-line-prompt | ||
[ssh-session]: #ssh-session | ||
[time-duration]: #time-duration | ||
[title]: #title | ||
[vi-mode]: #vi-mode | ||
[working-as-root]: #working-as-root | ||
<!-- markdownlint-enable MD051 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<!-- markdownlint-disable MD041 --> | ||
!!! success | ||
|
||
Pure requires Fish **`≥3.x`** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- markdownlint-disable MD041 --> | ||
<div align="center"> | ||
|
||
<img src="https://user-images.githubusercontent.com/1212392/262604075-db5d0ad2-a7ed-4a62-a1cc-ec677cf76351.png" width="61.8%" alt="Pure.fish logo"/><br> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters