Skip to content

Universal variables need to play well with path variables #5271

Closed

Description

@ridiculousfish

The new set --path support isn't yet supported for universal variables; this tracks adding it.

Activity

  1. added this to the fish-3.0 milestone on Oct 22, 2018
  2. added a commit that references this issue on Oct 27, 2018
    4789038
  3. faho commented on Oct 27, 2018

    @faho
    Member

    @ridiculousfish: This doesn't seem to work for me?

    If I do set -g --path pfade a:b, that results in a magic path-array. echo $pfade prints "a b", echo "$pfade" prints "a:b".

    If I do set -U --path pfade a:b, I can see this line:

    SETUVAR --path pfade:a\x3ab

    in the new ~/.config/fish/fish_variables file, but the echoes above both print "a:b". This is after closing all old fishes, with 2.7.1-1605-g47890389e.

  4. ridiculousfish commented on Oct 27, 2018

    @ridiculousfish
    MemberAuthor

    Oh no, you're right, amazing catch.

  5. ridiculousfish commented on Oct 27, 2018

    @ridiculousfish
    MemberAuthor

    Fixed in 9454397

  6. added 3 commits that reference this issue on Nov 24, 2018
    46775e7
    35f8749
    c5b0bca
  7. locked as resolved and limited conversation to collaborators on Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions