mirror of
https://github.com/jorgebucaran/fisher
synced 2024-08-17 12:31:05 +02:00
Add user configuration before sourcing Fisherman configuration
Obviously this should be the other way around, otherwise, the user would not be able to modify any variables that have an effect when Fisherman starts. In other words, when users install Fisherman, the code in config.fish should be added before sourcing Fisherman configuration and not after (current way).
This commit is contained in:
parent
2c7fa275c5
commit
d2dfb79dfc
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -49,7 +49,7 @@ $(FISH_CONFIG):
|
|||
echo "set fisher_home $(FISHER_HOME)" | sed "s|/$$||;s|$$HOME|~|" > $@.fisher
|
||||
echo "set fisher_config $(FISHER_CONFIG)" | sed "s|$$HOME|~|" >> $@.fisher
|
||||
echo "source \$$fisher_home/config.fish" >> $@.fisher
|
||||
awk 'FNR==NR{ print; a[$$0]; next } !($$0 in a) || /^$$/' $@.fisher $@ > $@.tmp
|
||||
awk 'FNR==NR{ print; a[$$0]; next } !($$0 in a) || /^$$/' $@ $@.fisher > $@.tmp
|
||||
mv $@.tmp $@ && rm $@.fisher
|
||||
|
||||
$(FISHER_CACHE):
|
||||
|
|
Loading…
Reference in a new issue