Skip to content

Commit 80c029d

Browse files
authored
fix(cable): fix channels channel (#992)
## 📺 PR Description #991 ## Checklist <!-- a quick pass through the following items to make sure you haven't forgotten anything --> - [x] my commits **and PR title** follow the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) format - [ ] if this is a new feature, I have added tests to consolidate the feature and prevent regressions - [ ] if this is a bug fix, I have added a test that reproduces the bug (if applicable) - [ ] I have added a reasonable amount of documentation to the code where appropriate
1 parent d12a813 commit 80c029d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cable/unix/channels.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ requirements = ["tv", "bat"]
77
command = ["tv list-channels"]
88

99
[preview]
10-
command = "bat -pn --color always ${XDG_CONFIG_HOME:-$HOME/.config}/television/cable/**/{}.toml"
10+
command = "bat -pn --color always ${TELEVISION_CONFIG:-${XDG_CONFIG_HOME:-$HOME/.config}/television}/cable/{}.toml"
11+
shell = "bash"
1112

1213
[keybindings]
1314
enter = "actions:channel-enter"

0 commit comments

Comments
 (0)