ambevar-dotfiles/.scripts/browser-autostart

14 lines
336 B
Plaintext
Raw Normal View History

#!/bin/sh
2014-03-06 15:35:52 +01:00
## Invoke a terminal while setting this environment variable. This way the shell
## can behave accordingly. This is useful to launch a program from X, which can
## then exit to shell, without closing the terminal.
if [ -z "$TERMCMD" ]; then
echo 'TERMCMD not set. Exiting.'
exit
fi
export BROWSER_AUTOSTART=true
$TERMCMD