diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-07-30 16:16:22 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-08-22 03:34:30 +0000 |
commit | 7154052ebe3d810390164a05c39ff83f98a1d858 (patch) | |
tree | de329087e802a17df0dd93aee35fdb5e49b25ac3 /Functions/MIME/zsh-mime-handler | |
parent | 4b2810ab2d6be3d1cf811e53d3b4f57630821108 (diff) | |
download | zsh-7154052ebe3d810390164a05c39ff83f98a1d858.tar.gz zsh-7154052ebe3d810390164a05c39ff83f98a1d858.tar.xz zsh-7154052ebe3d810390164a05c39ff83f98a1d858.zip |
39046 + 39061: New :P history modifier.
Diffstat (limited to 'Functions/MIME/zsh-mime-handler')
-rw-r--r-- | Functions/MIME/zsh-mime-handler | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/MIME/zsh-mime-handler b/Functions/MIME/zsh-mime-handler index 24e5184fc..288a0796d 100644 --- a/Functions/MIME/zsh-mime-handler +++ b/Functions/MIME/zsh-mime-handler @@ -127,7 +127,7 @@ for pattern in $exec_asis; do files=(${dirpref}${~pattern}) if [[ -n ${files[(r)$1]} ]]; then for pattern in $exec_never; do - [[ ${1:A} = ${~pattern} ]] && break 2 + [[ ${1:P} = ${~pattern} ]] && break 2 done if (( list )); then for (( i = 1; i <= $#; i++ )); do |