Skip to content

Commit

Permalink
🐛 Fix systemctl invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-thomas authored and Freed-Wu committed Mar 9, 2024
1 parent 83f3101 commit 9432d6e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sources/systemctl-cat.zsh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# :fzf-tab:complete:systemctl-cat:*
systemctl cat $word | bat -lini
SYSTEMD_COLORS=false systemctl cat -- $word | bat -lini
2 changes: 1 addition & 1 deletion sources/systemctl-help.zsh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# :fzf-tab:complete:systemctl-help:*
systemctl help $word 2>/dev/null | bat -lhelp
systemctl help -- $word 2>/dev/null | bat -lhelp
2 changes: 1 addition & 1 deletion sources/systemctl-list-dependencies.zsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# :fzf-tab:complete:(\\|*/|)systemctl-list-dependencies:*
case $group in
unit)
systemctl list-dependencies $word
systemctl list-dependencies -- $word
;;
esac
2 changes: 1 addition & 1 deletion sources/systemctl-status.zsh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# :fzf-tab:complete:systemctl-(status|(re|)start|(dis|en)able):*
systemctl status $word
systemctl status -- $word

0 comments on commit 9432d6e

Please sign in to comment.