-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
83f3101
commit 9432d6e
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |