about summary refs log tree commit diff
path: root/Functions/Zle/replace-string
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zle/replace-string')
-rw-r--r--Functions/Zle/replace-string4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Zle/replace-string b/Functions/Zle/replace-string
index 31a7567db..0b08dbae0 100644
--- a/Functions/Zle/replace-string
+++ b/Functions/Zle/replace-string
@@ -14,10 +14,10 @@ else
 fi
 
 read-from-minibuffer $p1 ${previous:+$_replace_string_src} || return 1
-_replace_string_src=$REPLY
+typeset -g _replace_string_src=$REPLY
 
 read-from-minibuffer "$p1$_replace_string_src$p2" \
   ${previous:+$_replace_string_rep} || return 1
-_replace_string_rep=$REPLY
+typeset -g _replace_string_rep=$REPLY
 
 replace-string-again $curwidget