May 07
zsh goodie
found today on irc://irc.freenode.net/#zsh
function vim() { /usr/bin/vim ${(@z)*/:/ +} }
will replace vim ~/.ssh/known_hosts:19 to vim ~/.ssh/known_hosts +19
found today on irc://irc.freenode.net/#zsh
function vim() { /usr/bin/vim ${(@z)*/:/ +} }
will replace vim ~/.ssh/known_hosts:19 to vim ~/.ssh/known_hosts +19
I'm Jochen Maes, a nerd, enough said! (contact info on the about page)
blog comments powered by Disqus