summaryrefslogtreecommitdiffstats
path: root/fish/functions
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-09-10 08:10:42 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-09-10 08:10:42 +0100
commit44698f9bbafedeea8370373479545a1318798e87 (patch)
tree1b7e5e80ba6cec329c5aa6e06b543e82ae6fa6ee /fish/functions
parenta34df1502c1d312b6256f4a131dc1b4546e9f7ca (diff)
fish stuff
Diffstat (limited to '')
-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 72c6a50..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