diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-03 11:38:55 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-03 11:38:55 +0000 |
| commit | 2c5ea79f1762dcbafca8d08bc5bdb47d75670f03 (patch) | |
| tree | 281e1696494e62aab0602d0186669520f7ecec7b /Functions/Zle/replace-string-again | |
| parent | unposted, see users/12758: [(w)...] does work with (r) and (R) (diff) | |
| download | zsh-2c5ea79f1762dcbafca8d08bc5bdb47d75670f03.tar zsh-2c5ea79f1762dcbafca8d08bc5bdb47d75670f03.tar.gz zsh-2c5ea79f1762dcbafca8d08bc5bdb47d75670f03.tar.bz2 zsh-2c5ea79f1762dcbafca8d08bc5bdb47d75670f03.tar.lz zsh-2c5ea79f1762dcbafca8d08bc5bdb47d75670f03.tar.xz zsh-2c5ea79f1762dcbafca8d08bc5bdb47d75670f03.tar.zst zsh-2c5ea79f1762dcbafca8d08bc5bdb47d75670f03.zip | |
24782: initial go at highlighting of characters in zle command lines
Diffstat (limited to 'Functions/Zle/replace-string-again')
| -rw-r--r-- | Functions/Zle/replace-string-again | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Functions/Zle/replace-string-again b/Functions/Zle/replace-string-again index 122f0a8ee..3d3486437 100644 --- a/Functions/Zle/replace-string-again +++ b/Functions/Zle/replace-string-again @@ -9,7 +9,8 @@ local MATCH MBEGIN MEND curwidget=${1:-$WIDGET} local -a match mbegin mend if [[ -z $_replace_string_src ]]; then - zle -M No string to replace. + zle -M "No string to replace." + return 1 fi if [[ $curwidget = *pattern* ]]; then |
