summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-03-14 22:04:05 -0400
committerBen Sima <ben@bsima.me>2022-03-14 22:04:05 -0400
commit2a3f074aa2404b50b43073eb5a684706a2a96966 (patch)
tree800a2924f6aaa1ff7e972a6f8c3bac54bd623fd4
parent21ab96bcf632c1b84567b4f1ee052e0170d1b5f7 (diff)
sys: add info line
-rwxr-xr-xsys2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys b/sys
index 27be7fd..3ca7ba5 100755
--- a/sys
+++ b/sys
@@ -6,5 +6,7 @@ systemctl "$@" list-unit-files \
| fzf \
--preview="systemctl $@ status {}" \
--preview-window "bottom,follow" \
+ --header-first \
+ --header="alt-1: status, alt-2: logs" \
--bind "alt-1:change-preview:systemctl $@ status {}" \
--bind "alt-2:change-preview:journalctl $@ -fu {}"