fisher: fisher overwrites my fishfile if it is a symbolic link; doesn't work with stow
I use stow to store my dotfiles in GitHub and run stow to symbolic link my fishfile
.
In version 2, this used to work just fine. But it looks like in v3, symbolic files are no longer supported. After running fisher, the file is removed and replaced with a new file.
Here is what I mean:
$ la ~/.config/fish/fishfile
lrwxr-xr-x 44 amirraminfar staff 6 Oct 12:18 -- /Users/amirraminfar/.config/fish/fishfile -> ../../.dotfiles/fisher/.config/fish/fishfile
After running fisher
:
.rw-r--r-- 289 amirraminfar staff 6 Oct 12:19 /Users/amirraminfar/.config/fish/fishfile
So it is removed and replaced with a new file.
😦
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 25 (14 by maintainers)
It would and I want to say to hell with it and drop 2.0~2.2 support. On the other hand, it’s amazing fisher works with any fish you can throw at it (except for this issue perhaps).
IIRC Ubuntu is still stuck on 2.2 by default.
The good news is that dropping support for old fish is bound to happen sooner than later. The only question is when? Next year? 2020? 🤔