aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-06-25 21:24:13 +0900
committernsfisis <nsfisis@gmail.com>2025-06-25 21:24:13 +0900
commit3784b3539b8dd46c2b70dc85ff7de27393b47516 (patch)
treef3ed778352c73d3d4f750ad70615fc8f433a464c
parentbc00e1896801b68fb1ceeb7cafd84ef6667c5a35 (diff)
downloaddotfiles-3784b3539b8dd46c2b70dc85ff7de27393b47516.tar.gz
dotfiles-3784b3539b8dd46c2b70dc85ff7de27393b47516.tar.zst
dotfiles-3784b3539b8dd46c2b70dc85ff7de27393b47516.zip
fish,git: add fish completion for "git sw"
-rw-r--r--.config/fish/completions/git-sw.fish1
-rw-r--r--mitamae/default.rb4
2 files changed, 5 insertions, 0 deletions
diff --git a/.config/fish/completions/git-sw.fish b/.config/fish/completions/git-sw.fish
new file mode 100644
index 0000000..2264885
--- /dev/null
+++ b/.config/fish/completions/git-sw.fish
@@ -0,0 +1 @@
+complete --command git-sw --wraps "git switch"
diff --git a/mitamae/default.rb b/mitamae/default.rb
index 606963f..c9efd3c 100644
--- a/mitamae/default.rb
+++ b/mitamae/default.rb
@@ -46,6 +46,10 @@ end
link "#{home}/.config/nvim" do
to "#{home}/dotfiles/.config/nvim"
end
+directory "#{home}/.config/fish"
+link "#{home}/.config/fish/completions" do
+ to "#{home}/dotfiles/.config/fish/completions"
+end
directory "#{home}/bin"