mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-05 09:32:37 +02:00
Do not add local plugins to fishfile.
This commit is contained in:
parent
04b4f8c134
commit
0a371507fe
1 changed files with 6 additions and 2 deletions
|
@ -306,7 +306,11 @@ function fisher
|
||||||
end
|
end
|
||||||
|
|
||||||
set -l config_glob $fisher_config/*
|
set -l config_glob $fisher_config/*
|
||||||
set -l config (printf "%s\n" $config_glob | command sed "s|.*/||")
|
set -l config (
|
||||||
|
if test ! -z "$config_glob"
|
||||||
|
command find $config_glob -maxdepth 0 -type d | command sed "s|.*/||"
|
||||||
|
end
|
||||||
|
)
|
||||||
|
|
||||||
switch "$cmd"
|
switch "$cmd"
|
||||||
case ls ls-remote
|
case ls ls-remote
|
||||||
|
@ -1415,7 +1419,7 @@ function __fisher_plugin_get_url_info -a option
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
cat {$argv}/.git/config ^ /dev/null | command awk -v option="$option" '
|
command cat {$argv}/.git/config ^ /dev/null | command awk -v option="$option" '
|
||||||
/url/ {
|
/url/ {
|
||||||
n = split($3, s, "/")
|
n = split($3, s, "/")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue