fish-shell/fish-shell — pull request #215 by maxfl (2012-07-08 12:45:23+00:00)
Title: Allow 'contains' builtin to return index

Add an option -i/--index to the contains builtin to print the index
of first coincidence.