mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-28 07:31:14 -03:00
Allow set --query to check for pathvarness (#8494)
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.
This commit is contained in:
@@ -90,7 +90,7 @@ The exporting rules when creating or updating a variable are identical to the sc
|
||||
- If a variable is not explicitly set to be either exported or unexported and has never before been defined, the variable will not be exported.
|
||||
|
||||
|
||||
In query mode, the scope to be examined can be specified.
|
||||
In query mode, the scope to be examined can be specified. Whether the variable has to be a path variable or exported can also be specified.
|
||||
|
||||
In erase mode, if variable indices are specified, only the specified slices of the list variable will be erased.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user