🐛 fix(fish): bob nvim version manager
This commit is contained in:
parent
30c8b38bb0
commit
b7400498ea
1 changed files with 9 additions and 0 deletions
9
.config/fish/functions/bob.fish
Normal file
9
.config/fish/functions/bob.fish
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue