Skip to content

Highlight redirection target as valid if it contains to-be-defined var#7695

Merged
krobelus merged 1 commit intofish-shell:masterfrom
krobelus:highlight-would-be-variables
Feb 13, 2021
Merged

Highlight redirection target as valid if it contains to-be-defined var#7695
krobelus merged 1 commit intofish-shell:masterfrom
krobelus:highlight-would-be-variables

Conversation

@krobelus
Copy link
Contributor

@krobelus krobelus commented Feb 8, 2021

If a variable is undefined, but it looks like it will be defined by the
current command line, assume the user knows what they are doing.
This should cover most real-world occurrences.

Closes #6654

TODOs:

  • Tests have been added for regressions fixed
  • User-visible changes noted in CHANGELOG.rst

@krobelus krobelus force-pushed the highlight-would-be-variables branch 2 times, most recently from 07515f7 to bb81e52 Compare February 13, 2021 07:14
@krobelus krobelus added this to the fish 3.2.0 milestone Feb 13, 2021
…variable

If a variable is undefined, but it looks like it will be defined by the
current command line, assume the user knows what they are doing.
This should cover most real-world occurrences.

Closes fish-shell#6654
@krobelus krobelus force-pushed the highlight-would-be-variables branch from bb81e52 to 88b3693 Compare February 13, 2021 07:58
@krobelus
Copy link
Contributor Author

Whoops, I had referenced the wrong issue :c

@krobelus krobelus merged commit fffcdf8 into fish-shell:master Feb 13, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 12, 2021
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.

fish cannot detect would-be-valid variable

1 participant