commit 3ab948cbb1687464c39fcc830d8065a1b446085b
parent 9db99e8f9e7811cefe2e3c32c3f62e43423cf960
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 12 Oct 2020 11:10:53 +0200
open(er): remove set -x
Former-commit-id: 98195531888962bc226fc0f25a8b774b49ac1a40
Diffstat:
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/scripts/open b/scripts/open
@@ -1,5 +1,4 @@
#!/bin/sh
-set -x
PARAMS=""
while [ $(($#)) -ne 0 ]; do
case "$1" in
diff --git a/scripts/opener b/scripts/opener
@@ -1,5 +1,4 @@
#!/bin/sh
-set -x
[ $# -gt 0 ] || { printf "File required in argument.\n" && exit 1; }
case $(file --mime-type "$1" -bL) in
text/*|application/json|inode/x-empty) $EDITOR "$1";;