aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/browser.sh
blob: ce18e127e8aec3f344118538055c7883e96a7825 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# Set command-line browser to Debian's alternatives name www-browser, or
# failing that, just to `lynx`; ~/.xsession will change this to something
# graphical instead if invoked.
#
if command -v www-browser >/dev/null 2>&1 ; then
    BROWSER=www-browser
else
    BROWSER=lynx
fi
export BROWSER