iterm2 fish integration with fish 2.5.0 has a function definition error
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.0.13
- OS version: 10.12.3
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window) com.googlecode.iterm2.plist
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
Detailed steps to reproduce the problem:
- Upgrade Fish to 2.5.0
- Install shell integration
- Open new window and see function definition error
What happened: The shell reports an error in line 86:
`function -v _ underscore_change' is an illegal function name What should have happened:
The shell should have no errors. I suggest `function underscore_change -v _'