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

bash: $TIMER_START: ambiguous redirect #914

Closed
1 task done
kiwi4boy opened this issue Aug 24, 2021 · 1 comment
Closed
1 task done

bash: $TIMER_START: ambiguous redirect #914

kiwi4boy opened this issue Aug 24, 2021 · 1 comment
Assignees
Labels
🐛 bug Something isn't working

Comments

@kiwi4boy
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

I got the following error whenever I was launching a command in my shell:

bash: $TIMER_START: ambiguous redirect

Note that my $HOME and $USER has spacing in it.

I noticed the following line in src/init/omp.bash:

PS0='$(::OMP:: --millis > $TIMER_START)'

The error went away when I added quotes in my ~/.bashrc:

export PS0='$(::OMP:: --millis > "$TIMER_START")'

So would you like to add quotes for me?

Thanks

Version

3.175.0

Theme

jandedobbeleer.omp.json

What OS are you seeing the problem on?

Windows

Which shell are you using?

bash

Relevant log output

No response

@kiwi4boy kiwi4boy added the 🐛 bug Something isn't working label Aug 24, 2021
JanDeDobbeleer added a commit that referenced this issue Sep 1, 2021
JanDeDobbeleer added a commit that referenced this issue Sep 1, 2021
Copy link

github-actions bot commented Apr 8, 2024

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues.
If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants