commit 5f099cb130476734651f4f1bb32ac471969235cd
parent b4c0b311e3f3d9c5281a4a162703195a63afd606
Author: William Casarin <jb55@jb55.com>
Date: Fri, 13 Nov 2020 15:35:05 -0800
bin/fuzz: exec more things
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/file-jump b/bin/file-jump
@@ -2,4 +2,4 @@
set -eou pipefail
-sed -n 's,^[[:space:]]*\([^:]\+\):\([0-9]\+\).*,edit "\1" +\2,p'
+exec sed -n 's,^[[:space:]]*\([^:]\+\):\([0-9]\+\).*,edit "\1" +\2,p'
diff --git a/bin/fuzzer b/bin/fuzzer
@@ -2,7 +2,7 @@
arg=$1
if [ -n "$arg" ]; then
- env FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS --exit-0 --select-1 -q '$arg'" $FUZZER
+ exec env FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS --exit-0 --select-1 -q '$arg'" $FUZZER
else
- $FUZZER
+ exec $FUZZER
fi