Browse Source

main: Declare variable local to fix WARN_CREATE_GLOBAL error

pull/689/head
Matthew Martin 4 years ago
parent
commit
b85e313bc9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      highlighters/main/test-data/opt-shwordsplit1.zsh

+ 1
- 1
highlighters/main/test-data/opt-shwordsplit1.zsh View File

@ -29,7 +29,7 @@
# -------------------------------------------------------------------------------------------------
setopt shwordsplit
EDITOR='ed -s'
local EDITOR='ed -s'
ed() { command ed "$@" }

Loading…
Cancel
Save