From 886c179aeff2d2015de3f44733108d0d9ac21b47 Mon Sep 17 00:00:00 2001 From: Shaun Setlock Date: Tue, 1 Jul 2025 21:24:54 -0400 Subject: [PATCH] feature/fish_aliases (#22) Co-authored-by: Shaun Setlock Co-authored-by: Shaun Setlock Reviewed-on: https://gitea.setlock.net/shaun/dotfiles/pulls/22 --- fish/functions/dev.fish | 5 +++++ fish/functions/oo.fish | 5 +++++ fish/functions/v.fish | 5 +++++ fish/functions/vh.fish | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 fish/functions/dev.fish create mode 100644 fish/functions/oo.fish create mode 100644 fish/functions/v.fish create mode 100644 fish/functions/vh.fish diff --git a/fish/functions/dev.fish b/fish/functions/dev.fish new file mode 100644 index 0000000..6da0a10 --- /dev/null +++ b/fish/functions/dev.fish @@ -0,0 +1,5 @@ +# Defined in - @ line 1 +function dev --wraps='docker exec -it mydev fish' --description 'alias dev=docker exec -it mydev fish' + docker exec -it mydev fish + +end diff --git a/fish/functions/oo.fish b/fish/functions/oo.fish new file mode 100644 index 0000000..0c17bf6 --- /dev/null +++ b/fish/functions/oo.fish @@ -0,0 +1,5 @@ +# Defined in - @ line 1 +function oo --wraps='nvim ~/Obsidian' --description 'alias oo=nvim ~/Obsidian' + nvim ~/Obsidian + +end diff --git a/fish/functions/v.fish b/fish/functions/v.fish new file mode 100644 index 0000000..bbf0ce7 --- /dev/null +++ b/fish/functions/v.fish @@ -0,0 +1,5 @@ +# Defined in - @ line 1 +function v --wraps='nvim .' --description 'alias v=nvim .' + nvim . + +end diff --git a/fish/functions/vh.fish b/fish/functions/vh.fish new file mode 100644 index 0000000..6faeff6 --- /dev/null +++ b/fish/functions/vh.fish @@ -0,0 +1,5 @@ +# Defined in - @ line 1 +function vh --wraps='nvim ~/' --description 'alias vh=nvim ~/' + nvim ~/ + +end