Sorry about the non-informative heading...
What I'm looking for is something like that will allow me to shorten redirecting stdout.
I know that executing a command with whitespaces before it does not write it into history, and there are a few "magic" operators, such as "!!", etc.
I'm basically looking for something like that, that would allow me to replace >/dev/null
, so, I'll be able to write, for example
git pull !!!
and that would be equivalent to git pull>/dev/null
Is there something like this? Am I able to override an existing operator / write a new one?