diff options
Diffstat (limited to 'functions')
| -rw-r--r-- | functions/www.fish | 6 | ||||
| -rw-r--r-- | functions/wwwsearch.fish | 6 |
2 files changed, 8 insertions, 4 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 diff --git a/functions/wwwsearch.fish b/functions/wwwsearch.fish index f07bbcc..531101b 100644 --- a/functions/wwwsearch.fish +++ b/functions/wwwsearch.fish @@ -1,8 +1,10 @@ function wwwsearch --description "Search on the WWW" if test -z $argv - webbrowser $WEBSEARCH &>/dev/null + $BROWSER $WEBSEARCH &>/dev/null & + disown return end - webbrowser "$WEBSEARCH/$argv" &>/dev/null + $BROWSER "$WEBSEARCH/$argv" &>/dev/null & + disown end |
