From b61429a176c65080ab5b5546532f195cf2163e07 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Sun, 15 May 2022 13:39:56 +0200 Subject: [PATCH] zsh:funcs:pgrep: Format + rephrase comment --- .config/zsh/zshrc.d/40-functions.zsh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.config/zsh/zshrc.d/40-functions.zsh b/.config/zsh/zshrc.d/40-functions.zsh index e9439b2..222bdd5 100644 --- a/.config/zsh/zshrc.d/40-functions.zsh +++ b/.config/zsh/zshrc.d/40-functions.zsh @@ -493,11 +493,10 @@ pgrep() { return fi - # If NO_EXTENDED_GLOB were set, the substitution would not work leading to - # the `grep` being listed as well. - # Set UNSET so that no arguments can be specified leading to `grep ""` - # matching everything, as `ps aux` without pipe would be my desired - # behavior. + # - Set EXTENDED_GLOB for the `b` globbing flag. + # - Set UNSET so that no arguments can be specified leading to `grep ""` + # matching everything, as `ps aux` without pipe would be my desired + # behavior. emulate -L zsh -o extendedglob -o unset # Substitute the captured first character with itself surrounded by