summaryrefslogtreecommitdiffstats
path: root/fish/functions
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-09-07 10:00:17 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-09-07 10:00:17 +0100
commit8db49bfcf22e75a8ff732cadd351ffce3e71b452 (patch)
treea8aef5e1007c49048975218d2f3f001962252aad /fish/functions
parentf8feeb66613867ca177333c70a553e12b3365b52 (diff)
parent3197e19a738c17aa7abb02fe2e4f24a0ba9b9ec1 (diff)
Merge branch 'master' of github.com:yulqen/openbsddotfiles
Diffstat (limited to '')
-rw-r--r--fish/functions/mutt.fish2
-rw-r--r--fish/functions/push.fish3
-rw-r--r--fish/functions/venvact.fish2
3 files changed, 5 insertions, 2 deletions
diff --git a/fish/functions/mutt.fish b/fish/functions/mutt.fish
index 2e23366..72c6a50 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/'
- neomutt -f Mail/fastmail/INBOX/ $argv;
+ cd ~/Downloads && neomutt -f Mail/fastmail/INBOX/ $argv;
end
diff --git a/fish/functions/push.fish b/fish/functions/push.fish
new file mode 100644
index 0000000..636213c
--- /dev/null
+++ b/fish/functions/push.fish
@@ -0,0 +1,3 @@
+function push --description 'alias push=git push'
+ git push $argv;
+end
diff --git a/fish/functions/venvact.fish b/fish/functions/venvact.fish
index 01bf050..b099648 100644
--- a/fish/functions/venvact.fish
+++ b/fish/functions/venvact.fish
@@ -1,3 +1,3 @@
function venvact --wraps='. ./.venv/bin/activate' --description 'alias venvact=. ./.venv/bin/activate'
- . ./.venv/bin/activate $argv;
+ . ./.venv/bin/activate.fish $argv;
end