4 ms·
Not sure if this is iTerm2 or zsh, but I have to confirm the code I am pasting by pressing enter, which gives me an opportunity to review it first. I like this
by M4v3R 10y ago
Not sure if this is iTerm2 or zsh, but I have to confirm the code I am pasting by pressing enter, which gives me an opportunity to review it first. I like this feature a lot.
- vitohuang 10y agoThat's a feature of iTerm2, it try to warn you about convert characters etc.
- mdrzn 10y agoNot always, sometimes when I copy something and paste it with Ctrl+V (insted of Ctrl+Shift+V) it still get pasted+entered.
- deleted 10y ago[deleted]
- TallGuyShort 10y agoOthers have said it's a feature of iTerm2 (which I don't know about), but it's also a feature of zsh. I use KTerm and it definitely didn't do this with bash, but it does it with zsh.
- d0mine 10y agoThere is safe-paste plugin for oh-my-zsh and you can enable the bracketed paste mode in Bash too by adding set enable-bracketed-paste on to your ~/.inputrc. https://cirw.in/blog/bracketed-paste https://cirw.in/blog/bracketed-paste