Fix minor bug in _is_auto_notify_ignored
This commit is contained in:
parent
bad7321d4a
commit
2292476f93
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ function _is_auto_notify_ignored() {
|
||||||
local command_list=("${(@s/|/)command}")
|
local command_list=("${(@s/|/)command}")
|
||||||
local target_command="${command_list[-1]}"
|
local target_command="${command_list[-1]}"
|
||||||
# Remove leading whitespace
|
# Remove leading whitespace
|
||||||
target_command="$(echo "$target_command" | sed -e 's/^ *//')}"
|
target_command="$(echo "$target_command" | sed -e 's/^ *//')"
|
||||||
|
|
||||||
for ignore in $AUTO_NOTIFY_IGNORE; do
|
for ignore in $AUTO_NOTIFY_IGNORE; do
|
||||||
if [[ "$target_command" == "$ignore"* ]]; then
|
if [[ "$target_command" == "$ignore"* ]]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue