Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

status current-command always returns the first token in the command line. #6635

Closed
norio-nomura opened this issue Feb 22, 2020 · 0 comments
Closed
Labels
bug Something that's not working as intended
Milestone

Comments

@norio-nomura
Copy link
Contributor

$ function cmd; status current-command; end
$ cmd
cmd
$ FOO=bar cmd
FOO=bar
$ echo -n ''; cmd
echo
$ echo -n '' && cmd
echo
$ FOO=bar echo -n '' && cmd
FOO=bar
$ fish -version
fish, version 3.1.0

It looks different than expected from the documentation.

@faho faho added the bug Something that's not working as intended label Feb 22, 2020
@faho faho added this to the fish 3.2.0 milestone Feb 22, 2020
zanchey pushed a commit that referenced this issue Feb 24, 2020
@zanchey zanchey modified the milestones: fish 3.2.0, fish 3.1.1 Feb 24, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something that's not working as intended
Projects
None yet
Development

No branches or pull requests

3 participants