summary refs log tree commit diff
path: root/Functions/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-06-23 16:14:24 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-06-23 16:14:24 +0000
commitfd1676f3973eb2c72655f4249675c0f39dac73c6 (patch)
tree2ac6dc03d858db65684d16be848925c419723c8f /Functions/Zle
parentceb7a0983360e53fed050367db92b96786d32597 (diff)
downloadzsh-fd1676f3973eb2c72655f4249675c0f39dac73c6.tar.gz
zsh-fd1676f3973eb2c72655f4249675c0f39dac73c6.tar.xz
zsh-fd1676f3973eb2c72655f4249675c0f39dac73c6.zip
20089: various zed improvements
Diffstat (limited to 'Functions/Zle')
-rw-r--r--Functions/Zle/zed-set-file-name9
1 files changed, 9 insertions, 0 deletions
diff --git a/Functions/Zle/zed-set-file-name b/Functions/Zle/zed-set-file-name
new file mode 100644
index 000000000..ca7758c37
--- /dev/null
+++ b/Functions/Zle/zed-set-file-name
@@ -0,0 +1,9 @@
+emulate -L zsh
+
+autoload -U read-from-minibuffer
+
+zle -K zed-normal-keymap
+
+local REPLY
+read-from-minibuffer "File name: "
+zed_file_name=$REPLY