summaryrefslogtreecommitdiffstats
path: root/fish/functions
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-09-14 10:45:20 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-09-14 10:45:20 +0100
commit7351a04ebf644bfef4c2069f1f86bc38a98279fa (patch)
treeb57e3aa284281f22ed497a1aaf09801aaa4639ff /fish/functions
parent6cf70895100bd7f364f5adf097dfce7d8d1df22e (diff)
parentb206d24769c4372bdc44e4a5772565f2b7075bad (diff)
Merge branch 'master' of github.com:yulqen/openbsddotfiles
Diffstat (limited to 'fish/functions')
-rw-r--r--fish/functions/def.fish3
-rw-r--r--fish/functions/mutt.fish2
2 files changed, 4 insertions, 1 deletions
diff --git a/fish/functions/def.fish b/fish/functions/def.fish
new file mode 100644
index 0000000..dce8394
--- /dev/null
+++ b/fish/functions/def.fish
@@ -0,0 +1,3 @@
+function def --description 'Search up words on the command line using the power of Google!' --argument word
+ lynx "https://www.google.com/search?q=define+$word"
+end
diff --git a/fish/functions/mutt.fish b/fish/functions/mutt.fish
index 68c3b25..d9b9fed 100644
--- a/fish/functions/mutt.fish
+++ b/fish/functions/mutt.fish
@@ -1,3 +1,3 @@
function mutt --wraps='neomutt -f Mail/fastmail/INBOX/' --description 'alias mutt=neomutt -f Mail/fastmail/INBOX/'
- cd ~/Downloads && neomutt -f ~/Mail/fastmail/INBOX/ $argv;
+ cd ~/Downloads && neomutt -f ~/Mail/fastmail/INBOX/ $argv;
end