mirror of
https://github.com/jorgebucaran/fisher
synced 2024-09-10 15:07:40 +02:00
Remove script file support for .load plugins. Revert 2cfa1c.
This commit is contained in:
parent
c6b9af37f0
commit
fd4d2316f9
2 changed files with 7 additions and 13 deletions
|
@ -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 a new issue