Merge branch 'master' into readme-changes

This commit is contained in:
psprint 2018-08-26 07:02:28 +02:00 committed by GitHub
commit ccf9462f97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,3 @@
[![patreon](https://img.shields.io/badge/-Patreon-orange.svg?longCache=true&style=for-the-badge)](https://www.patreon.com/psprint)
[![paypal](https://img.shields.io/badge/-Donate-yellow.svg?longCache=true&style=for-the-badge)](https://www.paypal.me/ZdharmaInitiative)

View file

@ -494,7 +494,8 @@ typeset -ga ZLAST_COMMANDS
fi
(( this_word & 1 )) && {
active_command=$__arg
# !in_redirection needed particularly for exec {A}>b {C}>d
(( !in_redirection )) && active_command=$__arg
_mybuf=${aliases[$active_command]:-$active_command}
[[ -n ${FAST_HIGHLIGHT[chroma-${_mybuf%% *}]} ]] && {
__list=( ${(z@)_mybuf} )