Browse Source

driver: Followup to last: make the value more unique.

Part of issue #305.
pull/355/head
Daniel Shahaf 8 years ago
parent
commit
295d62ec88
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      zsh-syntax-highlighting.zsh

+ 1
- 0
zsh-syntax-highlighting.zsh View File

@ -249,6 +249,7 @@ _zsh_highlight_call_widget()
_zsh_highlight_bind_widgets() _zsh_highlight_bind_widgets()
{ {
setopt localoptions noksharrays setopt localoptions noksharrays
typeset -F SECONDS
local prefix=orig-s$SECONDS-r$RANDOM # unique each time, in case we're sourced more than once local prefix=orig-s$SECONDS-r$RANDOM # unique each time, in case we're sourced more than once
# Load ZSH module zsh/zleparameter, needed to override user defined widgets. # Load ZSH module zsh/zleparameter, needed to override user defined widgets.

Loading…
Cancel
Save