ZSH: how can I run Vim-style substitute command in command line?
- by HH
I forgot the array syntax while on Zsh-commandline:
$ hello=[1,2,3,4] %ERR:
I want to fix the problem by substitution. In Vim, I would do :.s@,@ @g.
So how can I edit the current line, or let call it a current buffer, by running a command on it?