mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Remove useless check for files that start with .
in __fisher_list_plugin_directory.
This commit is contained in:
parent
9ff08e2d92
commit
f1a1632deb
1 changed files with 3 additions and 3 deletions
|
@ -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 \*
|
||||
|
|
Loading…
Reference in a new issue