klaaspieter/chxcode

Fish shell support

Closed this issue · 1 comments

I'm trying to utilize chxcode while on a fish shell session but I can't source it.

/usr/local/share/chxcode/chxcode (line 3): Unsupported use of '='. In fish, please use 'set xcode_search_path ${xcode_search_path-/}'.
from sourcing file /usr/local/share/chxcode/chxcode
source: Error while reading file '/usr/local/share/chxcode/chxcode'

I even tried to utilize bass but to no avail. I know this is sort of a longshot but any ideas as to how to get it to work?

I do not use fish and am hesitant to add and maintain support for a non-POSIX compliant shell. However chxcode was heavily inspired by chruby and they have a similiar issue for fish support (postmodern/chruby#284) where one of the commentors recommends https://github.com/JeanMertz/chruby-fish

Perhaps you can do something similiar with chxcode?