From 44698f9bbafedeea8370373479545a1318798e87 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sat, 10 Sep 2022 08:10:42 +0100 Subject: fish stuff --- fish/fish_variables | 2 +- fish/functions/def.fish | 3 +++ fish/functions/mutt.fish | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 fish/functions/def.fish (limited to 'fish') diff --git a/fish/fish_variables b/fish/fish_variables index 04804be..dd99f4f 100644 --- a/fish/fish_variables +++ b/fish/fish_variables @@ -40,5 +40,5 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan SETUVAR fish_pager_color_selected_background:\x2dr -SETUVAR fish_user_paths:/home/lemon/bin\x2dscripts/\x1e/home/lemon/perl5/perlbrew/bin/\x1e/usr/lib/cargo/bin/\x1e/home/lemon/go/bin\x1e/usr/local/go/bin\x1e/snap/bin\x1e/home/lemon/\x2epoetry/bin\x1e/home/lemon/\x2ecargo/bin\x1e/home/lemon/bin\x1e/home/lemon/bin/adb\x2dfastboot/platform\x2dtools/\x1e/home/lemon/\x2efzf/bin +SETUVAR fish_user_paths:/usr/local/jdk\x2d11/bin\x1e/home/lemon/bin\x2dscripts/\x1e/home/lemon/perl5/perlbrew/bin/\x1e/usr/lib/cargo/bin/\x1e/home/lemon/go/bin\x1e/usr/local/go/bin\x1e/snap/bin\x1e/home/lemon/\x2epoetry/bin\x1e/home/lemon/\x2ecargo/bin\x1e/home/lemon/bin\x1e/home/lemon/bin/adb\x2dfastboot/platform\x2dtools/\x1e/home/lemon/\x2efzf/bin SETUVAR fisher_dependency_count:Colored\x2dMan\x2dPages\x1ebass 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 -- cgit v1.2.3