
Pure โฏโฎโฏ¶
Pretty, minimal and fast Fish ๐ prompt, ported from
zsh.
Install¶
Success
Pure requires Fish โฅ3.x
Install latest version
fisher install pure-fish/pure
-
Download the installer to
/tmpcurl git.io/pure-fish --output /tmp/pure_installer.fish --location --silent -
Source and trigger the installer
source /tmp/pure_installer.fish; and install_pure
Wanna preview a pull-request before it gets merged? Just append @ symbol, followed by a tag, branch, or commit.
fisher install pure-fish/pure@v4.13.0
Configuration¶
You can tweak pure behavior and color by changing universal variables either directly in the terminal or in your config.fish, e.g.:
set --universal pure_show_system_time true
set --universal pure_color_system_time pure_color_mute
Features¶
Overview¶
Fully customizable (colors, symbols and features):
- Display username and hostname when in an
SSHsession ๐ ; - Display command duration when longer than
5seconds ๐ ; - Display
Pythonvirtualenv when activated ๐ด๐ ; - Display
AWSprofile when set ๐ด๐ ; - Display
VImode and custom symbol for non-insert mode ๐ด๐ ; - Display
kubernetescontext and namespace ๐ด๐ ; - Detect when running in a container (e.g.
docker,podman,LXC/LXD) ๐ด๐ - Indicate if a
nix developshell is activated ๐ด๐ . - Show system time ๐ด ;
- Transient prompt mode simplify previous prompts ๐ด ;
- Show number of running jobs ๐ด ;
- Prefix when
root๐ด๐ ; -
Display
gitbranch name ๐ด๐ ;- 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
- Shorten or truncate current folder component ๐ด๐ ;
- and moreโฆ
๐ด means it's controlled by a feature flag, ๐ mean it's configurable.

