Remove useless check for files that start with . in __fisher_list_plugin_directory.

This commit is contained in:
Jorge Bucaran 2016-04-25 14:19:33 +09:00
parent 185703c22e
commit a283f27e64

View file

@ -843,15 +843,15 @@ function __fisher_list_plugin_directory -a item
for file in .* **
if test -f "$file"
switch "$file"
case .\*
printf " %s\n" $file
case \*/\*
set -l current_tree (dirname $file)
if test "$previous_tree" != "$current_tree"
printf " $color%s/$nc\n" $current_tree
end
printf " %s\n" (basename $file)
set previous_tree $current_tree
case \*