diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2004-07-12 04:00:29 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2004-07-12 04:00:29 +0000 |
commit | def0167e34a276bbcf6e1e63435dd77a79b12b18 (patch) | |
tree | 125e9dbf5ffd229e748c9b22da5e357f259bcbc6 /Functions/Zle | |
parent | 86ae90bc1c2866b1b10a326d4cdbdb8b02a9f9a9 (diff) | |
download | zsh-def0167e34a276bbcf6e1e63435dd77a79b12b18.tar.gz zsh-def0167e34a276bbcf6e1e63435dd77a79b12b18.tar.xz zsh-def0167e34a276bbcf6e1e63435dd77a79b12b18.zip |
20145: Additional arguments to read-from-minibuffer specify initial values
of LBUFFER and RBUFFER.
Diffstat (limited to 'Functions/Zle')
-rw-r--r-- | Functions/Zle/read-from-minibuffer | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Zle/read-from-minibuffer b/Functions/Zle/read-from-minibuffer index 6af7f2a39..c3848ae9f 100644 --- a/Functions/Zle/read-from-minibuffer +++ b/Functions/Zle/read-from-minibuffer @@ -20,8 +20,8 @@ done local savelbuffer=$LBUFFER saverbuffer=$RBUFFER local savepredisplay=$PREDISPLAY savepostdisplay=$POSTDISPLAY -LBUFFER= -RBUFFER= +LBUFFER="$2" +RBUFFER="$3" PREDISPLAY="$PREDISPLAY$savelbuffer$saverbuffer$POSTDISPLAY ${1:-? }" POSTDISPLAY= |