Skip to content

No preview on symlink #110

@octvs

Description

@octvs

On my setup symlink previews on lf is not showing up with ctpv, although on
a shell ctpv outputs as expected.

ctpv a-symlink-leading-to-file # outputs symlink info text + pic preview
# Go in lf and check the same file
lf a-symlink-leading-to-file # only symlink info on right hand side

Placing set nosymlinkinfo to ctpv config resolves the issue, but it would be
ideal to also keep the symlink information.

Here are relevant configs

$XDG_CONFIG_HOME/lf/.lfrc

set previewer ctpv

&ctpv -s $id
&ctpvquit $id
set cleaner ctpvclear

$XDG_CONFIG_HOME/ctpv/config

set chafasixel
preview image image/* {{
	chafa -s "${w}x${h}" -f sixels --polite on "$f"
}}
set nosymlinkinfo

The preview image part is taken from #90

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions