Attempting to use 'time' results in suggestion of 'date' instead of 'timeit'
Open
Nobody has claimed this yet.
A:error-unhelpful
- Dominant language
- Rust
- Stars
- 40.5k
- Forks
- 2.3k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 85
Description
Nushell uses timeit for measuring the time it takes a command to finish, while Bash, Zsh and Fish use time.
When trying to use time in Nushell, it says did you mean 'date'?. It should suggest timeit instead, like it does when trying to use the removed benchmark command.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the command-suggestion logic that handles the removed benchmark command and currently suggests date for time. Done means entering time suggests timeit, while the existing benchmark suggestion behavior remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100