aboutsummaryrefslogtreecommitdiffstats
path: root/gotrc-examples
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-10-05 00:32:34 +0200
committerMattias Andrée <maandree@operamail.com>2013-10-05 00:32:34 +0200
commit7dd7b51ef18c8328922483ff2bf0d5190e5383ab (patch)
tree63940a7f241b70ef1510b6d94fe190bee2b86edf /gotrc-examples
parentlist dash as an opt-in dependency (diff)
downloadgates-of-tartaros-7dd7b51ef18c8328922483ff2bf0d5190e5383ab.tar.gz
gates-of-tartaros-7dd7b51ef18c8328922483ff2bf0d5190e5383ab.tar.bz2
gates-of-tartaros-7dd7b51ef18c8328922483ff2bf0d5190e5383ab.tar.xz
add command for creating a new got instance1381012138
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'gotrc-examples')
-rw-r--r--gotrc-examples/commands4
1 files changed, 4 insertions, 0 deletions
diff --git a/gotrc-examples/commands b/gotrc-examples/commands
index 9bcf669..667bf76 100644
--- a/gotrc-examples/commands
+++ b/gotrc-examples/commands
@@ -26,6 +26,10 @@ _login_commands ()
export LANG="en_GB.UTF-8"
fi
adjbacklight
+ elif [ "${user}" = "+1" ]; then
+ echo "Enter parameters: (e.g. tty7 TERM=linux)"
+ read -r params
+ setsid -- "$0" $params &
else
cat <<EOF
Command is not recognised.