mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
feat(cable): add extensive television cable channel configurations and related files
This commit is contained in:
1 parent
7c786f9349
commit
e9a7fd1fde
72 files changed
+2101
No files matched your search
@@ -0,0 +1,24 @@
|
||||
[metadata]
|
||||
name = "git-worktrees"
|
||||
description = "List and switch between git worktrees"
|
||||
requirements = ["git"]
|
||||
|
||||
[source]
|
||||
command = "git worktree list --porcelain | grep '^worktree' | cut -d' ' -f2-"
|
||||
|
||||
[preview]
|
||||
command = "cd '{}' && git log --oneline -10 --color=always && echo && git status --short"
|
||||
|
||||
[keybindings]
|
||||
enter = "actions:cd"
|
||||
ctrl-d = "actions:remove"
|
||||
|
||||
[actions.cd]
|
||||
description = "Change to the selected worktree"
|
||||
command = "cd {} && $SHELL"
|
||||
mode = "execute"
|
||||
|
||||
[actions.remove]
|
||||
description = "Remove the selected worktree"
|
||||
command = "git worktree remove {}"
|
||||
mode = "execute"
|
||||
Reference in new issue
Block a user