From: Mark Szymanski Date: Sat, 20 Nov 2010 22:27:47 +0000 (-0600) Subject: Added quiet function to run command in background. X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=62295973ca3bce1990a859b1f085b62cf9fd4d55;p=common%2Fbash_it.git Added quiet function to run command in background. --- diff --git a/plugins/base.plugin.bash b/plugins/base.plugin.bash index 9eceaf9..9c8cb92 100644 --- a/plugins/base.plugin.bash +++ b/plugins/base.plugin.bash @@ -30,6 +30,10 @@ pri() { ri -T "${1}" | open -f -a $PREVIEW } +quiet() { + $* &> /dev/null & +} + banish-cookies() { rm -r ~/.macromedia ~/.adobe ln -s /dev/null ~/.adobe