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 e2de415090
commit cddf8b1f87
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

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 \*