]> git.donarmstrong.com Git - bin.git/commitdiff
use exec insead
authorDon Armstrong <don@donarmstrong.com>
Thu, 29 Jun 2017 20:02:07 +0000 (15:02 -0500)
committerDon Armstrong <don@donarmstrong.com>
Thu, 29 Jun 2017 20:02:07 +0000 (15:02 -0500)
st [changed mode: 0644->0755]

diff --git a/st b/st
old mode 100644 (file)
new mode 100755 (executable)
index b017fec..8080a8c
--- a/st
+++ b/st
@@ -1,11 +1,10 @@
 #!/bin/sh
-
 if which stterm >/dev/null 2>&1; then
-    stterm -f 'Fixed:pizelsize=20';
+    exec stterm -f 'Fixed:pixelsize=20';
 elif which urxvt >/dev/null 2>&1; then
-    urxvt -f 'Fixed:pixelsize=20';
+    exec urxvt -f 'Fixed:pixelsize=20';
 elif which uxterm >/dev/null 2>&1; then
-    uxterm;
+    exec uxterm;
 else
-    xterm;
+    exec xterm;
 fi;