aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/xvt5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/xvt b/bin/xvt
index b0215bf..2190461 100755
--- a/bin/xvt
+++ b/bin/xvt
@@ -55,6 +55,11 @@ if [[ -z "$TERMINAL" ]]; then
fi
if [[ -n "$TERMINAL" ]]; then
+ # keep the same behaviour between all terminals
+ if [[ "`basename ${TERMINAL%% *}`" = "konsole" ]]; then
+ TERMINAL="$TERMINAL --nofork"
+ fi
+
exec $TERMINAL "$@"
else
echo "no terminal emulator detected"