Skip to content

Releases: pure-fish/pure

v4.16.0: 🔍 Custom install location support

02 Mar 15:55

Choose a tag to compare

🔍 Custom install location support

Adds support for installing pure into a custom install location. As suggested in #394, a variable $_pure_root is added to _pure_init.fish to determine the install location, and all instances of $__fish_config_path is replaced by $_pure_root, so the source commands in $_pure_init.fish will work correctly regardless of where pure is installed into. This allows pure to work when installed into a custom fisher install location.

by @benedictleejh in #397

What's Changed

New Contributors

Full Changelog: v4.15.1...v4.16.0

v4.15.1: 🐍 support `VIRTUAL_ENV_PROMPT`

13 Feb 14:58

Choose a tag to compare

🐍 Support VIRTUAL_ENV_PROMPT

In addition to the already implemented VIRTUAL_ENV variable, many Python virtual env tools also set VIRTUAL_ENV_PROMPT (e.g. virtualenv). Unlike VIRTUAL_ENV, which is the absolute path to the virtual env directory (e.g. /home/user/project/.venv), VIRTUAL_ENV_PROMPT is just the name of the virtual env project.

This pull request implements displaying VIRTUAL_ENV_PROMPT when it's set and defaulting to existing VIRTUAL_ENV or CONDA_DEFAULT_ENV base names otherwise.

Thanks to @gouline works on #405

What's Changed

New Contributors

Full Changelog: v4.15.0...v4.15.1

v4.15.0: Option to display exit pipe status

07 Jan 10:04

Choose a tag to compare

List Exit Statuses

  • feat: add option to display exit pipe status by @Maritsu 👏 in #395
State Preview
Enabled (list exit statuses) light-pure_show_exit_status=true
Enabled (convert statuses to signals) light-pure_show_exit_status=true,pure_convert_exit_status_to_signal=true
Option Default Description
pure_show_exit_status false true: Show list of status codes if the last command failed
pure_convert_exit_status_to_signal false true: Convert statuses 129 and up to their signal names
pure_symbol_exit_status_prefix | Prefix when the last command failed
pure_symbol_exit_status_separator | Separator between statuses in a pipeline

New Contributors

Full Changelog: v4.14.1...v4.15.0

v4.14.0: 👋 Being polite

04 Dec 17:57

Choose a tag to compare

What's Changed

We do our best to clean up after ourselves and provides information on the version installed or updated.

Plugin Fresh Install

screenshot _pure_install

Plugin Update

screenshot _pure_install

Full Changelog: v4.13.0...v4.14.0

v4.13.0: Support Transient prompt

03 Dec 10:40

Choose a tag to compare

What's Changed

Features

✂️ Transient Prompt

Simplify previous prompts in scrollback history (Fish 4.1.0+)

Option Default Description
fish_transient_prompt - Fish built-in variable. Set to 1 to enable transient prompt.

Shows a simplified prompt (just the prompt symbol) for previous commands, keeping your scrollback clean while maintaining full context on the current prompt.
When enabled, Fish re-runs the prompt with --final-rendering before executing a command.

Transient prompt works best with single line prompt enabled:

set --universal fish_transient_prompt 1
set --universal pure_enable_single_line_prompt true
Preview
Enabled
(simplified previous prompts, single line)
Disabled
(full prompts in scrollback)
screenshot fish_transient_prompt=1,pure_enable_single_line_prompt=true screenshot fish_transient_prompt=0,pure_enable_single_line_prompt=true

Changes

👋 Customizing Fish Greeting

Since version ≥4.13.x, pure does not override your fish_greeting function anymore, allowing you to use your own custom greeting.

To configure your Fish's greeting, edit $__fish_config_dir/functions/fish_greeting.fish function or the related variable:

Check for new release

Add the following to call pure_check_for_new_release on each new shell (i.e., when a new terminal session or tmux tab starts):

function fish_greeting
    _pure_check_for_new_release
end
Void fish_greeting function

Voiding the fish_greeting.fish function will stop printing any greeting:

function fish_greeting
    # remove content to disable greeting
end
Empty fish_greeting variable

Or set the greeting to an empty string to stop printing any greeting:

set --universal fish_greeting

Screenshots Automation for the Documentation

We automated the tedious task of taking screenshots of the prompt features and build the documentation. Thus, we have always-up-to-date features screenshots! 📸

screenshot-automation-preview
Dedicated project

This feature has been extracted to a dedicated repo https://github.com/pure-fish/docker-terminal-screenshot/ to allow a maximum of people to use it 💖

Pre-built Docker image with OmarTawfik/terminal-screenshot#11 for automated terminal screenshot generation.

image

New Contributors

  • @Copilot made their first contribution in #387 IA congratulating itself 🤣 (nice help bootstrapping PR, but still need human touch)

Full Changelog: v4.12.0...v4.13.0

v4.12.0: Shows git stash, commits ahead/behind count next to indicator

23 Sep 11:13
bec8876

Choose a tag to compare

What's Changed

🔢 Numbered git stash, commits ahead/behind indicator

❯ set --universal pure_show_numbered_git_indicator false # default
❯ set --universal pure_show_numbered_git_indicator true
Default (disabled) Feature enabled
image nothing next to stash, pull/push indicator
image count of stash entries, commit ahead/behind next to indicators

CI/Tests

  • Test jobs now show fish version used ;
  • update NixOS image to 2.31.2 ;
  • Fix all test on NixOS due to missing package ;
  • Add AGENTS.md file to project ;
  • support pre-release version number when bumping version (used in PR tests)

New Contributors

  • @lungsin made their first Pull request contribution in #382

Full Changelog: v4.11.4...v4.12.0

v4.11.4: Improve VS Code Shell integration and NixOS tests

22 Sep 21:07

Choose a tag to compare

What's Changed

Use source in NixOS

We use pure current source code when running the tests instead of the package from Nix repository. This way, tests are relevant to what is being developed (not was is already published).

Improve VS Code Shell integration

Prevent vscode from adding extra line

Before After
Image Image

New Contributors

👏 Thanks

  • @Perlence for raising the issue, providing insight and feedback before release

Full Changelog: v4.11.3...v4.11.4

v4.11.3: NixOS fix sourcing from vendor directory

06 Jun 21:14

Choose a tag to compare

What's Changed

👏 Thanks

Full Changelog: v4.11.2...v4.11.3

v4.11.2

20 May 15:38

Choose a tag to compare

What's Changed

  • fix: add shepherd to the list of supported init programs by @jbweston in #354

New Contributors

Full Changelog: v4.11.1...v4.11.2

v4.11.1

19 May 20:59

Choose a tag to compare

What's Changed

Full Changelog: v4.11.0...v4.11.1