Add a new type '*.term' for running VTE terminal commands.
[techtalk-pse.git] / examples / simple / functions
index c8df6e7..daacc22 100644 (file)
@@ -21,13 +21,6 @@ terminal ()
     # when it exits.
     chmod -w $HISTFILE
 
-    # Run gnome-terminal.
-    exec \
-        gnome-terminal \
-        --window \
-        --geometry=+100+100 \
-        --hide-menubar \
-        --disable-factory \
-        -e '/bin/bash --norc' \
-        "$@"
+    # Execute a shell.
+    bash --norc "$@"
 }