From 7eccc43affd86423c649c7ffd66ab0b21d429f8a Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 26 Jan 2025 06:28:39 +0100 Subject: Move browser functions to separate files. modified: conf.d/05browser.fish new file: functions/www.fish new file: functions/wwwsearch.fish --- functions/www.fish | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 functions/www.fish (limited to 'functions/www.fish') 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 -- cgit v1.3.1