From c354beeb5a3213c9bf31a58c5658aa2ef202a184 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Fri, 21 Jan 2022 13:24:22 +0100 Subject: [PATCH] Don't show commands prefixed with . in launcher --- modules/graphical/sway/launcher.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/graphical/sway/launcher.zsh b/modules/graphical/sway/launcher.zsh index 5425277f..fff30cbe 100644 --- a/modules/graphical/sway/launcher.zsh +++ b/modules/graphical/sway/launcher.zsh @@ -74,7 +74,7 @@ record() { } run_options() { - print -rl -- ''${(ko)commands} | sed "s/^/run /" + print -rl -- ''${(ko)commands} | grep -v "^\\." | sed "s/^/run /" } run() {