Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sindresorhus/pure
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.22.0
Choose a base ref
...
head repository: sindresorhus/pure
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.23.0
Choose a head ref
  • 3 commits
  • 5 files changed
  • 2 contributors

Commits on Dec 22, 2023

  1. Meta tweaks

    sindresorhus committed Dec 22, 2023
    Copy the full SHA
    4e0ce0a View commit details

Commits on Feb 28, 2024

  1. Copy the full SHA
    f2d671c View commit details
  2. 1.23.0

    sindresorhus committed Feb 28, 2024
    Copy the full SHA
    a02209d View commit details
Showing with 6 additions and 5 deletions.
  1. +0 −1 .github/funding.yml
  2. +1 −1 license
  3. +2 −1 package.json
  4. +2 −1 pure.zsh
  5. +1 −1 readme.md
1 change: 0 additions & 1 deletion .github/funding.yml

This file was deleted.

2 changes: 1 addition & 1 deletion license
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "pure-prompt",
"version": "1.22.0",
"version": "1.23.0",
"description": "Pretty, minimal and fast ZSH prompt",
"license": "MIT",
"repository": "sindresorhus/pure",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
3 changes: 2 additions & 1 deletion pure.zsh
Original file line number Diff line number Diff line change
@@ -715,7 +715,7 @@ prompt_pure_state_setup() {
[[ $UID -eq 0 ]] && username='%F{$prompt_pure_colors[user:root]}%n%f'"$hostname"

typeset -gA prompt_pure_state
prompt_pure_state[version]="1.22.0"
prompt_pure_state[version]="1.23.0"
prompt_pure_state+=(
username "$username"
prompt "${PURE_PROMPT_SYMBOL:-❯}"
@@ -729,6 +729,7 @@ prompt_pure_is_inside_container() {
[[ -r "$cgroup_file" && "$(< $cgroup_file)" = *(lxc|docker)* ]] \
|| [[ "$container" == "lxc" ]] \
|| [[ "$container" == "oci" ]] \
|| [[ "$container" == "podman" ]] \
|| [[ -r "$nspawn_file" ]]
}

2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ Most prompts are cluttered, ugly and slow. We wanted something visually pleasing

## Install

Can be installed with `npm` or manually. Requires Git 2.15.2+ and ZSH 5.2+. Older versions of ZSH are known to work, but they are **not** recommended.
Can be installed with `npm` (not `yarn`) or manually. Requires Git 2.15.2+ and ZSH 5.2+. Older versions of ZSH are known to work, but they are **not** recommended.

### npm