From 58058d172a9c7ba1d248bb2d3df73acc1b046ec4 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 11 Jul 2023 14:21:48 +0530 Subject: ttyasrt: exec into programs instaed of forking --- .local/bin/ttyasrt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/ttyasrt b/.local/bin/ttyasrt index 21b5d42..3b73174 100755 --- a/.local/bin/ttyasrt +++ b/.local/bin/ttyasrt @@ -12,7 +12,7 @@ die() die "\$TERMIANL must be set" if tty --silent; then - "$@" + exec "$@" else - "$TERMINAL" -- "$@" + exec "$TERMINAL" -- "$@" fi -- cgit v1.2.3