From 3b6cec52deae711092569d15f705c7dbc3b14472 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 15 Apr 2013 12:25:19 +0400 Subject: [PATCH] Extensions: firefox and firefox-bin choices. --- extensions.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extensions.sh b/extensions.sh index 242c364..09efc92 100755 --- a/extensions.sh +++ b/extensions.sh @@ -13,7 +13,9 @@ alias -s {pdf,djvu}="nohup &> /dev/null evince" which gnome-mplayer &>/dev/null && alias -s {avi,mpeg,mpg,3gp}="nohup &>/dev/null gnome-mplayer" || alias -s {avi,mpeg,mpg,3gp}="nohup &>/dev/null mplayer" alias -s {odt,doc,sxw,rtf,odf,xls,ppt}="nohup &> /dev/null soffice" - alias -s {html,htm}="firefox" + # alias -s {html,htm,xhtml}=pick-web-browser + which firefox &>/dev/null && alias -s {html,htm,xhtml}="firefox" + which firefox-bin &>/dev/null && alias -s {html,htm,xhtml}="firefox-bin" alias -s {txt,lst}="cat" alias -s exe="wine" } @@ -21,4 +23,3 @@ alias -s {wav,mp3,ogg}="alsaplayer" autoload -U pick-web-browser -alias -s {html,htm,xhtml}=pick-web-browser