This commit is contained in:
Andreas Jaggi 2010-12-25 22:36:47 +01:00 committed by x-way
commit 2bf1933f2d
2 changed files with 14 additions and 2 deletions

View file

@ -61,7 +61,7 @@ colorize-zle-buffer() {
esac
fi
region_highlight+=("$start_pos $end_pos $style")
[[ ${${ZLE_TOKENS_FOLLOWED_BY_COMMANDS[(r)${arg//|/\|}]}:+yes} = 'yes' ]] && colorize=true
[[ ${${ZLE_TOKENS_FOLLOWED_BY_COMMANDS[(r)${arg//|/\|}]:-}:+yes} = 'yes' ]] && colorize=true
start_pos=$end_pos
done
}