0f635ab417a7

shutup.fish
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 11 Sep 2015 14:11:55 +0000
parents bec1b5c8a9b1
children 4fd7ed35c546
branches/tags (none)
files fish/functions/quietly.fish

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fish/functions/quietly.fish	Fri Sep 11 14:11:55 2015 +0000
@@ -0,0 +1,3 @@
+function quietly -d "Run a command and hide the output"
+    eval $argv >/dev/null ^/dev/null
+end