summaryrefslogtreecommitdiffstats
path: root/bashrc/common
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc/common')
-rw-r--r--bashrc/common/browser.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/bashrc/common/browser.sh b/bashrc/common/browser.sh
new file mode 100644
index 0000000..e01dd61
--- /dev/null
+++ b/bashrc/common/browser.sh
@@ -0,0 +1,13 @@
+# browser options
+
+# but user opera, if available
+if hash opera > /dev/null 2>&1 ; then
+ export PAGER=opera
+else
+
+ # use firefox by default ...
+ if hash firefox > /dev/null 2&>1 ; then
+ export BROWSER=firefox
+ fi
+fi
+