Skip to content
Discussion options

You must be logged in to vote

how would the system know which of the two source and preview commands to use?
Instead you could create a new channel that does both, for example

[[cable_channel]]
name = "files-dirs-hidden"
source_command = "fd --hidden"
preview_command = "[ -f {} ] && bat --number --color=always {} || eza --long --group-directories-first --all --tree --level 2 --color=always {}"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@C4n4m1
Comment options

Answer selected by C4n4m1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants