mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-09 07:10:27 +00:00
Remove script file support for .load plugins. Revert 2cfa1c.
This commit is contained in:
parent
d1b6be3064
commit
b78220f1e6
@ -39,12 +39,6 @@ function __fisher_plugin_walk -a plugin path
|
||||
|
||||
for file in $path/{functions/,}*.{py,rb,php,pl,awk,sed}
|
||||
set -l prefix functions
|
||||
set -l load_files (find $path -depth 1 -type f -name "*.load" ^ /dev/null)
|
||||
|
||||
if test ! -z "$load_files"
|
||||
set prefix conf.d
|
||||
end
|
||||
|
||||
set -l target $prefix/(basename $file)
|
||||
|
||||
debug "Script %s" $target
|
||||
|
14
test/fixtures/path-walk/foobar-path-walk
vendored
14
test/fixtures/path-walk/foobar-path-walk
vendored
@ -14,13 +14,13 @@
|
||||
--source conf.d/foobar.mod.fish
|
||||
--source conf.d/foobar.load.fish
|
||||
--source completions/foobar.fish
|
||||
-- conf.d/foobar.py
|
||||
-- conf.d/foobar.rb
|
||||
-- conf.d/foobar.php
|
||||
-- conf.d/foobar.pl
|
||||
-- conf.d/foobar.awk
|
||||
-- conf.d/quux.awk
|
||||
-- conf.d/foobar.sed
|
||||
-- functions/foobar.py
|
||||
-- functions/foobar.rb
|
||||
-- functions/foobar.php
|
||||
-- functions/foobar.pl
|
||||
-- functions/foobar.awk
|
||||
-- functions/quux.awk
|
||||
-- functions/foobar.sed
|
||||
--man man/man1/foobar.1
|
||||
--man man/man2/foobar.2
|
||||
--man man/man3/foobar.3
|
||||
|
Loading…
Reference in New Issue
Block a user