aboutsummaryrefslogtreecommitdiff
path: root/functions/www.fish
diff options
context:
space:
mode:
Diffstat (limited to 'functions/www.fish')
-rw-r--r--functions/www.fish6
1 files changed, 4 insertions, 2 deletions
diff --git a/functions/www.fish b/functions/www.fish
index 0ae1e86..9fb4074 100644
--- a/functions/www.fish
+++ b/functions/www.fish
@@ -1,8 +1,10 @@
function www --description "Browse the WWW"
if test -z $argv
- webbrowser &>/dev/null
+ $BROWSER &>/dev/null &
+ disown
return
end
- webbrowser $argv &>/dev/null
+ $BROWSER $argv &>/dev/null &
+ disown
end