Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

FZF_WIDGET_OPTS: assignment to invalid subscript range #38

Open
OdinsHat opened this issue Dec 31, 2018 · 1 comment
Open

FZF_WIDGET_OPTS: assignment to invalid subscript range #38

OdinsHat opened this issue Dec 31, 2018 · 1 comment

Comments

@OdinsHat
Copy link

Environment

  • zsh --version: zsh 5.6.2 (x86_64-pc-linux-gnu)
  • uname -a: Linux Leonidas 4.19.12-arch1-1-ARCH Add fzf-git-delete-branches #1 SMP PREEMPT Fri Dec 21 13:56:54 UTC 2018 x86_64 GNU/Linux

Actual behaviour

On starting a new terminal I get this error:

/home/me/.zshrc:109: FZF_WIDGET_OPTS: assignment to invalid subscript range

On line 109 I have the example configuration you give in your readme:

FZF_WIDGET_OPTS[insert-history]='--exact'

Expected behaviour

I don't know. I've never seen it work and don't know what it does.

Attempts to fix

  • Googled FZF_WIDGET_OPTS and found it only mentioned in your example.
  • Changed insert-history to fzf-insert-history and insert-history-line
@rsperl
Copy link

rsperl commented Jul 31, 2019

add typeset -gA FZF_WIDGET_OPTS above that line.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants