aboutsummaryrefslogtreecommitdiffhomepage
path: root/hyprpm
diff options
context:
space:
mode:
authorLincoln Yuji de Oliveira <[email protected]>2024-07-04 08:21:07 -0300
committerGitHub <[email protected]>2024-07-04 14:21:07 +0300
commit0a6e83005f1910b5c1ec78476fcffc05af47833a (patch)
tree6bc6a6877e121ef4ab05f63f08c49a4bfa3a90b8 /hyprpm
parente894d5e964994e988ef75de4d95e98c9503235e1 (diff)
downloadHyprland-0a6e83005f1910b5c1ec78476fcffc05af47833a.tar.gz
Hyprland-0a6e83005f1910b5c1ec78476fcffc05af47833a.zip
Completions: use only awk (#6763)
Diffstat (limited to 'hyprpm')
-rw-r--r--hyprpm/hyprpm.bash2
-rw-r--r--hyprpm/hyprpm.fish2
-rw-r--r--hyprpm/hyprpm.usage2
-rw-r--r--hyprpm/hyprpm.zsh2
4 files changed, 4 insertions, 4 deletions
diff --git a/hyprpm/hyprpm.bash b/hyprpm/hyprpm.bash
index 6989f7c1..ffc33e19 100644
--- a/hyprpm/hyprpm.bash
+++ b/hyprpm/hyprpm.bash
@@ -1,5 +1,5 @@
_hyprpm_cmd_0 () {
- hyprpm list | grep Plugin | awk '{print $4}'
+ hyprpm list | awk '/Plugin/{print $4}'
}
_hyprpm () {
diff --git a/hyprpm/hyprpm.fish b/hyprpm/hyprpm.fish
index 81a1c59e..7be4f224 100644
--- a/hyprpm/hyprpm.fish
+++ b/hyprpm/hyprpm.fish
@@ -1,6 +1,6 @@
function _hyprpm_1
set 1 $argv[1]
- hyprpm list | grep Plugin | awk '{print $4}'
+ hyprpm list | awk '/Plugin/{print $4}'
end
function _hyprpm
diff --git a/hyprpm/hyprpm.usage b/hyprpm/hyprpm.usage
index f321faf6..369c9d2b 100644
--- a/hyprpm/hyprpm.usage
+++ b/hyprpm/hyprpm.usage
@@ -16,4 +16,4 @@ hyprpm [<FLAGS>]... <ARGUMENT>
| (reload) "Reload all plugins"
;
-<PLUGINS> ::= {{{ hyprpm list | grep Plugin | awk '{print $4}' }}};
+<PLUGINS> ::= {{{ hyprpm list | awk '/Plugin/{print $4}' }}};
diff --git a/hyprpm/hyprpm.zsh b/hyprpm/hyprpm.zsh
index e355a1fa..854e8426 100644
--- a/hyprpm/hyprpm.zsh
+++ b/hyprpm/hyprpm.zsh
@@ -1,7 +1,7 @@
#compdef hyprpm
_hyprpm_cmd_0 () {
- hyprpm list | grep Plugin | awk '{print $4}'
+ hyprpm list | awk '/Plugin/{print $4}'
}
_hyprpm () {