mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-15 12:13:28 +00:00
fish_prompt fallback check needs to be done only once
This commit is contained in:
parent
83608c228a
commit
fa598b1ed6
@ -150,9 +150,10 @@ function fisher -a cmd -d "fish plugin manager"
|
||||
command rm -rf $files $data
|
||||
command rm -df (string split --right --max=1 / $data)[1] 2>/dev/null
|
||||
functions -e (string replace --all --regex '^.*/|\.fish$' "" $files)
|
||||
functions -q fish_prompt || source $__fish_data_dir/functions/fish_prompt.fish
|
||||
end
|
||||
|
||||
functions -q fish_prompt || source $__fish_data_dir/functions/fish_prompt.fish
|
||||
|
||||
source $fisher_path/completions/fisher.fish 2>/dev/null
|
||||
|
||||
_fisher_list >$fish_plugins
|
||||
|
Loading…
Reference in New Issue
Block a user