mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Add new plugin listing decorator for symbolic links `|'.
This commit is contained in:
parent
85bbcccd27
commit
952ac794b1
2 changed files with 6 additions and 2 deletions
|
@ -18,8 +18,12 @@ function __fisher_list -a source
|
||||||
|
|
||||||
for i in (__fisher_cache_list)
|
for i in (__fisher_cache_list)
|
||||||
if contains -- $i $enabled
|
if contains -- $i $enabled
|
||||||
if test $i = "$fisher_prompt"
|
if test -L $fisher_cache/$i
|
||||||
|
printf "%s%s\n" "|" $i
|
||||||
|
|
||||||
|
else if test $i = "$fisher_prompt"
|
||||||
printf "%s%s\n" ">" $i
|
printf "%s%s\n" ">" $i
|
||||||
|
|
||||||
else
|
else
|
||||||
printf "%s%s\n" "*" $i
|
printf "%s%s\n" "*" $i
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
set -l manifest $DIRNAME/fixtures/manifest
|
set -l manifest $DIRNAME/fixtures/manifest
|
||||||
|
|
||||||
set -l plugins foo bar baz norf zerg quux hoge foobar fred thud chomp
|
set -l plugins foo bar baz norf zerg quux hoge foobar fred thud chomp boo loo
|
||||||
|
|
||||||
test "$TESTNAME - Parse fishfile and retrieve plugin names with fisher --list=fishfile"
|
test "$TESTNAME - Parse fishfile and retrieve plugin names with fisher --list=fishfile"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue