Releases: pure-fish/pure
v4.2.3: Skip Linux-only methods to detect container on MacOS
🐛 Fix: Linux-only methods to detect container on MacOS
Issue #295 was caused by functions that expected /proc/
to exist on the system to be executed. However, those are Linux-only approach.
So, running them only for Linux declared OS (cf. uname -s
) fixed the issue in #298 .
⬇️ Installation
The project has a new home, thanks to @rafaelrinaldi. It's now under pure-fish organization:
fisher install pure-fish/pure
👏 Thanks
v4.2.2: Fix MacOS container detection #295
Fix MacOS container detection
Detecting if we run inside a container or a bare OS require hacks specific to OS. The _pure_detect_container_by_pid_method
isn't compatible with MacOS, as it's based on /proc/
contains.
- warning: An error occurred while redirecting file '/proc/1/cgroup' #295
⬇️ Installation
The project has a new home, thanks to @rafaelrinaldi. It's now under pure-fish organization:
fisher install pure-fish/pure
👏 Thanks
- @Defman21 for spotting the issue
v4.2.1: 🐍 Displaying conda/virtualenv env name with correct spacing
🐍 Displaying conda/virtualenv env name with correct spacing
⬇️ Installation
The project has a new home, thanks to @rafaelrinaldi. It's now under pure-fish organization:
fisher install pure-fish/pure
👏 Thanks
- @speyejack for the fix in #285
v4.2.0: ⛵ Migrate to fishtape 3
♻️ Migrate to fishtape 3
- Tests and CI have been migrated to fishtape 3 #275
- supported version are
3.1.2
and3.3.1
(I will add CI for newer in next releases) - Improve container detection method (by PID and by cgroup) 6fbf483
⬇️ Installation
The project has a new home, thanks to @rafaelrinaldi. It's now under pure-fish organization:
fisher install pure-fish/pure
4.1.0: Show user@host when running in a container
Feature
- Show-username-host-if-inside-a-container #271
⬇️ Installation
The project has a new home, thanks to @rafaelrinaldi. It's now under pure-fish organization:
fisher install pure-fish/pure
v4.0.0: 🏡 New Home
Being Human
Home Mean You are Welcome
As you might have realized, @rafaelrinaldi transferred the project from his personal repository to https://github.com/pure-fish/pure/ organization.
The goals of this transfer are:
- To increase the bus factor (@edouard-lopez, @rafaelrinaldi and @andreiborisov are owners now) ;
- Share permissions to update project settings more easily.
- Onboard new contributors ;
- Configure template/metadata/open collective, etc.
It's also a way to reflect that the project evolved from a pet-project to a community project with almost ~900 ⭐
💓 Project Pulse
This is a long pending release note, you are probably using a more recent version (e.g. 4.1.1
). At the time of the transfer request I was pretty active maintaining the project, but by the time we achieve it I had other priorities pop-up 🧒👶.
Thus, I'm publishing this release note as I'm resuming contribution.
New features and bugfixes will come in the coming weeks/months, thanks to many contributors! But before merging PRs, I will first focus on making the codebase stable and testable again by finishing the migration to Fishtape 3.
Release
This major release break some variables related to
SSH
to introduce support for containers (docker
andlxc
).
Be sure to read the Migration guide section carefully ⬇️ .
Features
Fixes
- Migrates --quiet to -q #278
⬇️ Installation
The project has a new home, thanks to @rafaelrinaldi. It's now under pure-fish
organization:
-fisher install rafaelrinaldi/pure
+fisher install pure-fish/pure
⚠️ Breaking changes
- remove official support for OMF and Fundle #248
- Replace
by_pure_prompt_ssh_host
_pure_user_at_host
to support container c074b08 01a9b6a
Migration Guide v3.x
to v4.0
If you customized your pure
using your ~/config.fish
you must update it by renaming some variables.
🚑 Script
We provide a migration script to help you with this tedious work:
tools/migration-to-4.0.0.fish [/path/to/your/config.fish]
Variables Renaming
💣 SSH Hostname Variable
-pure_color_ssh_hostname
+pure_color_hostname
💣 SSH At Sign (@
) Variable
-pure_color_ssh_separator
+pure_color_at_sign
💣 SSH Normal Username Variable
-pure_color_ssh_user_normal
+pure_color_username_normal
💣 SSH Root Username Variable
-pure_color_ssh_user_root
+pure_color_username_root
v3.5.0: 1️⃣ Add single-line prompt flag
1️⃣ Add single-line prompt flag
Let user have a more compact prompt, where everything is show on the same line.
Option | Default | Description |
---|---|---|
pure_enable_single_line_prompt |
false |
true : Compact prompt as a single line |
Preview
⬇️ Installation
fisher install rafaelrinaldi/pure
👏 Thanks
- @iamajvillalobos for suggestion the feature fixes #65
- @noaccOS for some inspiration in #217
fishtape
3.0
is released, and we do the switch. If you encounter any problem, revert to previous version
fisher install rafaelrinaldi/[email protected]
v3.4.2: 🐛 Fix `id: illegal option --` on MacOS
🐛 Fix id: illegal option --
on MacOS
Linux and MacOS commands differ in the options they provided, the former often providing extensions while the latter restrict itself to POSIX
. We fallback to POSIX for id
, date
, wc
and rm
commands.
Run Tests Against MacOS
I also started to extend our Github workflow so the CI run tests against MacOS.
⬇️ Installation
fisher install rafaelrinaldi/pure
👏 Thanks
v3.4.1: 🚀 Prefix prompt when logged in as root
🚀 Add support for showing subsecond in command duration
Add a flag to prefix prompt when logged in as root (with a customizable symbol).
Option | Default | Description |
---|---|---|
pure_show_prefix_root_prompt |
false |
true : shows prompt prefix when logged in as root . |
pure_symbol_prefix_root_prompt |
# |
Prefix prompt when logged in as root |
pure_color_prefix_root_prompt |
pure_color_danger |
Preview
⬇️ Installation
fisher install rafaelrinaldi/pure