mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
Import from root chezmoi source
This commit is contained in:
commit
c8c8c9a000
77 files changed
+2443
No files matched your search
@@ -0,0 +1,37 @@
|
||||
[metadata]
|
||||
name = "git-stash"
|
||||
description = "Browse and manage git stash entries"
|
||||
requirements = ["git"]
|
||||
|
||||
[source]
|
||||
command = "git stash list --color=always"
|
||||
ansi = true
|
||||
output = "{strip_ansi|split:\\::0}"
|
||||
no_sort = true
|
||||
frecency = false
|
||||
|
||||
[preview]
|
||||
command = "git stash show -p --color=always '{strip_ansi|split:\\::0}'"
|
||||
|
||||
[ui]
|
||||
layout = "portrait"
|
||||
|
||||
[keybindings]
|
||||
enter = "actions:apply"
|
||||
ctrl-p = "actions:pop"
|
||||
ctrl-d = "actions:drop"
|
||||
|
||||
[actions.apply]
|
||||
description = "Apply the selected stash"
|
||||
command = "git stash apply '{strip_ansi|split:\\::0}'"
|
||||
mode = "execute"
|
||||
|
||||
[actions.pop]
|
||||
description = "Pop the selected stash (apply and remove)"
|
||||
command = "git stash pop '{strip_ansi|split:\\::0}'"
|
||||
mode = "execute"
|
||||
|
||||
[actions.drop]
|
||||
description = "Drop the selected stash"
|
||||
command = "git stash drop '{strip_ansi|split:\\::0}'"
|
||||
mode = "execute"
|
||||
Reference in new issue
Block a user