mirror of
https://github.com/jorgebucaran/fisher
synced 2024-07-02 23:11:48 +02:00
fix: replace ln with cp; don't hardlink; close #470
This commit is contained in:
parent
56e45ef18f
commit
1d82bee9c2
|
@ -306,7 +306,7 @@ function _fisher_pkg_install -a pkg
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
echo "linking $target" | command sed "s|$HOME|~|" >&2
|
echo "linking $target" | command sed "s|$HOME|~|" >&2
|
||||||
command ln -f $source $target
|
command cp -f $source $target
|
||||||
switch $target
|
switch $target
|
||||||
case \*.fish
|
case \*.fish
|
||||||
source $target >/dev/null 2>/dev/null
|
source $target >/dev/null 2>/dev/null
|
||||||
|
|
Loading…
Reference in a new issue