commit 40b6dbdec1a1f335582f295280d25e17fdf62358 parent 75f41ec7cb028d3cbf95f9d7a60a4c79ccb32309 Author: GeaRSiX <gearsix@tuta.io> Date: Mon, 12 Nov 2018 23:14:53 +0000 ♻️ fixed shh Diffstat:
M | shh.sh | | | 8 | +++++--- |
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/shh.sh b/shh.sh @@ -1,10 +1,12 @@ #!/bin/bash -# ~/scripts +# shh # run a terminal command and send stdout to /dev/null # # shh cmd # -# @TODO add autocomplete +# @TODO autocomplete for $PATH files? -$@ &>/dev/null & +for bin in $@; do + $bin &>/dev/null & +done;