Skip to content

Allow set --query to check for pathvarness#8494

Merged
faho merged 3 commits into
fish-shell:masterfrom
faho:set-query-path
Nov 26, 2021
Merged

Allow set --query to check for pathvarness#8494
faho merged 3 commits into
fish-shell:masterfrom
faho:set-query-path

Conversation

@faho

@faho faho commented Nov 26, 2021

Copy link
Copy Markdown
Member

Currently,

set -q --unpath PATH

simply ignores the "--unpath" bit (and same for "--path").

This changes it, so just like exportedness you can check pathvarness.

TODOs:

  • Changes to fish usage are reflected in user documentation/manpages.
  • Tests have been added for regressions fixed
  • User-visible changes noted in CHANGELOG.rst

faho added 2 commits November 26, 2021 17:38
Currently,

    set -q --unpath PATH

simply ignores the "--unpath" bit (and same for "--path").

This changes it, so just like exportedness you can check pathness.
@faho faho added this to the fish 3.4.0 milestone Nov 26, 2021
@faho faho merged commit 47e4570 into fish-shell:master Nov 26, 2021
@faho faho deleted the set-query-path branch November 26, 2021 17:29
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant