Remove script file support for .load plugins. Revert 2cfa1c.

This commit is contained in:
Jorge Bucaran 2016-03-26 15:36:21 +09:00
parent d1b6be3064
commit b78220f1e6
2 changed files with 7 additions and 13 deletions

View File

@ -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

View File

@ -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