-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
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
Create file with '>' freeze terminal #5046
Comments
It looks like to me that this is a problem with zsh itself, and not oh-my-zsh. EDIT: this is indeed on Zsh's part and I have sent an email to their mailing list reporting it. I would however like to note the danger of using this command in place of touch, as this command will overwrite the file if it already exists. If you are absolutely insistent on using this shortcut perhaps add the extra keystroke to do >> file.txt Also note that while this command is "hanging" you can type normally and upon doing c-c the text you typed will be inserted into the file, leading me to believe this may be a feature, and not a bug. |
From a zsh-contributor,
|
A faster solution is setting up the |
Hello,
when i try to create a file using '>', the command freeze and need to press Ctrl C.
Example:
$ > file.txt
In a native terminal emulator works.
">" is faster to create files that use the touch command
The text was updated successfully, but these errors were encountered: