aboutsummaryrefslogtreecommitdiff
path: root/functions/wwws.fish
diff options
context:
space:
mode:
authorDeposite Pirate2026-02-13 03:18:56 +0100
committerDeposite Pirate2026-02-13 03:18:56 +0100
commitf89d43f2ecc3be8b3bedbdacd5f2da77a3297be4 (patch)
tree6cade0a5765b4fdb911ab5014c2f7126fc5fed69 /functions/wwws.fish
parenta321d344bb739c62af67f91eacb1294c0605d54b (diff)
Shorter name
renamed: functions/wwwsearch.fish -> functions/wwws.fish
Diffstat (limited to 'functions/wwws.fish')
-rw-r--r--functions/wwws.fish10
1 files changed, 10 insertions, 0 deletions
diff --git a/functions/wwws.fish b/functions/wwws.fish
new file mode 100644
index 0000000..8e70f1e
--- /dev/null
+++ b/functions/wwws.fish
@@ -0,0 +1,10 @@
+function wwws --description "Search on the WWW"
+ if test -z $argv
+ $BROWSER $WEBSEARCH &>/dev/null &
+ disown
+ return
+ end
+
+ $BROWSER "$WEBSEARCH/$argv" &>/dev/null &
+ disown
+end