summaryrefslogtreecommitdiffstats
path: root/fish/functions/def.fish
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/def.fish
parenta34df1502c1d312b6256f4a131dc1b4546e9f7ca (diff)
fish stuff
Diffstat (limited to 'fish/functions/def.fish')
-rw-r--r--fish/functions/def.fish3
1 files changed, 3 insertions, 0 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