-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Brace expansion getting in the way in git stash apply #434
Comments
{ and } are special characters in fish. |
You have to use quotes |
Even bash has strange behaviour:
|
This is a considerable inconvenience.. |
Perhaps it would be a good idea to use more recognizable color for symbols like |
That sounds like it would be worth a go @xfix |
It's hard to think of any particular color, but it seems that #ff87d7 works well. The alternative is green (which is often used in text editors to mark variables), but that could be confusing with the default prompt being green. I made two screenshots for comparison reasons. I don't think that any particular sets other than black on white, and white on black have to be considered here. If someone uses pink background, or something, it's possible to fix such issues with Please note that variables aren't highlighted on those screenshots. The proposal to improve this is available to read at #1201. |
Hello, You can do this for example: You have to escape the "{". |
We now have tab completion that offers the properly escaped versions, so it should be easy to pick one and it should be clear that escaping is necessary. I believe this issue is fixed. |
The following git command breaks when I use it in fish.
In fish:
In bash:
The text was updated successfully, but these errors were encountered: