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

type time incorrectly reports built-in as external command #6997

Closed
d opened this issue May 12, 2020 · 1 comment
Closed

type time incorrectly reports built-in as external command #6997

d opened this issue May 12, 2020 · 1 comment

Comments

@d
Copy link

d commented May 12, 2020

Steps to reproduce

type time

Expected output
time is a builtin

Actual output:
time is /usr/bin/time

Bonus action

  1. Executing time ls has different output as /usr/bin/time ls (as expected)

  2. builtin time ls results in:

    fish: Unknown builtin “time”
    builtin time ls
            ^
    

(Not sure this is expected)
3. Unlike other builtins, time --help won't work

System Info

info
version 3.1.0
OS Ubuntu 20.04
Can I repro with an empty $HOME? yes
@zanchey
Copy link
Member

zanchey commented May 12, 2020

Thanks for the report. This got fixed in 3.1.1 (though you should upgrade to 3.1.2) - see #6598.

@zanchey zanchey closed this as completed May 12, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants