mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Read fishfile from $fisher_path instead of $fish_config (#480)
This commit is contained in:
parent
6e5a751e16
commit
d65b86487b
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ end
|
|||
|
||||
function _fisher_self_uninstall
|
||||
set -l current_pkgs $fisher_config/*/*/*
|
||||
for path in $fisher_cache (_fisher_pkg_remove_all $current_pkgs) $fisher_config $fisher_path/{functions,completions,conf.d}/fisher.fish $fish_config/fishfile
|
||||
for path in $fisher_cache (_fisher_pkg_remove_all $current_pkgs) $fisher_config $fisher_path/{functions,completions,conf.d}/fisher.fish $fisher_path/fishfile
|
||||
echo "removing $path"
|
||||
command rm -rf $path 2>/dev/null
|
||||
end | command sed "s|$HOME|~|" >&2
|
||||
|
@ -174,7 +174,7 @@ function _fisher_commit
|
|||
command rm -rf $fisher_config
|
||||
command mkdir -p $fisher_config
|
||||
|
||||
set -l fishfile $fish_config/fishfile
|
||||
set -l fishfile $fisher_path/fishfile
|
||||
if test ! -e "$fishfile"
|
||||
command touch $fishfile
|
||||
echo "created empty fishfile in $fishfile" | command sed "s|$HOME|~|" >&2
|
||||
|
|
Loading…
Reference in a new issue