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