mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-08-23 19:33:15 +08:00
main: Declare variable local to fix WARN_CREATE_GLOBAL error
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
setopt shwordsplit
|
setopt shwordsplit
|
||||||
EDITOR='ed -s'
|
local EDITOR='ed -s'
|
||||||
|
|
||||||
ed() { command ed "$@" }
|
ed() { command ed "$@" }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user