From b7400498ea6b9a01c9fe705ea7ee71ea69130b81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 29 Jul 2024 21:13:21 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(fish):=20bob=20nvim=20versio?= =?UTF-8?q?n=20manager?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/fish/functions/bob.fish | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .config/fish/functions/bob.fish diff --git a/.config/fish/functions/bob.fish b/.config/fish/functions/bob.fish new file mode 100644 index 00000000..b863f685 --- /dev/null +++ b/.config/fish/functions/bob.fish @@ -0,0 +1,9 @@ +function bob --wraps bob + command bob $argv + set used (cat ~/.local/share/bob/used) + set src ~/.local/share/bob/$used + set dest ~/.local/share/bob-nvim + test -L $dest + and unlink $dest + ln -s $src/nvim-linux64 $dest +end