zsh:funcs:pgrep: Format + rephrase comment
This commit is contained in:
@@ -493,11 +493,10 @@ pgrep() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If NO_EXTENDED_GLOB were set, the substitution would not work leading to
|
# - Set EXTENDED_GLOB for the `b` globbing flag.
|
||||||
# the `grep` being listed as well.
|
# - Set UNSET so that no arguments can be specified leading to `grep ""`
|
||||||
# Set UNSET so that no arguments can be specified leading to `grep ""`
|
# matching everything, as `ps aux` without pipe would be my desired
|
||||||
# matching everything, as `ps aux` without pipe would be my desired
|
# behavior.
|
||||||
# behavior.
|
|
||||||
emulate -L zsh -o extendedglob -o unset
|
emulate -L zsh -o extendedglob -o unset
|
||||||
|
|
||||||
# Substitute the captured first character with itself surrounded by
|
# Substitute the captured first character with itself surrounded by
|
||||||
|
|||||||
Reference in New Issue
Block a user