fisher: Duplicate entries in fishfile
I use my own set of fish scripts as a plugin, so I have this in my fishfile
:
mrak/mrak.fish
For convenience, I have set the origin push url to be git@github.com:mrak/mrak.fish
so that I can my local edits and push them. I have also tried, instead of modifying the origin push url, adding a new remote as upstream
When I run fisher up
, it adds the following to my fishfile:
mrak/mrak.fish
mrak/mrak.fish
git@github.com:mrak/mrak.fish
$ git -C ~/.config/fisherman/mrak.fish remote -v
origin https://github.com/mrak/mrak.fish (fetch)
origin https://github.com/mrak/mrak.fish (push)
upstream git@github.com:mrak/mrak.fish.git (fetch)
upstream git@github.com:mrak/mrak.fish.git (push)
It would be nice if the first url
entry from .git/config
is used instead of all of them 😃
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (17 by maintainers)
Commits related to this issue
- Prevent additional remotes per plugin from affecting fishfile closes #371 — committed to jorgebucaran/fisher by deleted user 7 years ago
- Prevent additional remotes per plugin from affecting fishfile closes #371 — committed to jorgebucaran/fisher by deleted user 7 years ago
I’ve been just using
source fisher.fish
when working on plugins. Is there an even simpler way?