We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82988c9 commit 45a53cfCopy full SHA for 45a53cf
zsh-edit.plugin.zsh
@@ -1,10 +1,17 @@
1
#!/bin/zsh
2
+
3
+# Ensure history from file is shell-parsed into words, not split on blanks.
4
+setopt histlexwords
5
6
+typeset -ga _edit_opts=( extendedglob NO_listbeep NO_shortloops warncreateglobal )
7
8
() {
- typeset -gHa _edit_opts=( extendedglob NO_listbeep NO_shortloops warncreateglobal )
- emulate -L zsh; setopt $_edit_opts
9
+ emulate -L zsh
10
+ setopt $_edit_opts
11
12
local dir=${${(%):-%x}:P:h}
13
local fdir=$dir/functions
14
15
typeset -gU FPATH fpath=( $dir $fpath )
16
autoload -Uz $fdir/{bind,zsh-edit} $fdir/[._]edit.*~*.zwc(DN)
17
0 commit comments