feat(cable): add extensive television cable channel configurations and related files

This commit is contained in:
Prad Nukala committed 2026-09-30 11:14:31 -04:00
1 parent 7c786f9349
commit e9a7fd1fde
72 files changed
+2101

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
[metadata]
name = "ssh-hosts"
description = "A channel to select hosts from your SSH config"
requirements = ["grep", "tr", "cut", "awk"]
[source]
command = "grep -E '^Host(name)? ' $HOME/.ssh/config | tr -s ' ' | cut -d' ' -f2- | tr ' ' '\n' | grep -v '^$'"
[preview]
command = "awk '/^Host / { found=0 } /^Host (.*[[:space:]])?'{}'([[:space:]].*)?$/ { found=1 } found' $HOME/.ssh/config"
[keybindings]
enter = "actions:connect"
[actions.connect]
description = "SSH into the selected host"
command = "ssh {}"
mode = "execute"