在'unset'附近解析错误在OSX El Capitan上使用zsh / iTerm2

时间:2016-02-19 15:57:51

标签: ruby macos rvm zsh

所以我安装了zshiTerm 2,每次打开iTerm 2时都会收到此消息:

/Users/jeitnier/.rvm/scripts/rvm:81: parse error near 'unset'

搜索Google会向我herehere

我想要修改.zshrc和其他任何.bash_profile.bashrc& .profileexport PATH个文件,并确保$PATH所有rvm个调用都会被rvm get head --auto-dotfiles包裹起来,但会修复它。但

我已经通过List<MyObj> objs = ... // <- lot of objs List<MyObj> objsThatAreA = new ArrayList<>(); List<MyObj> objsThatAreB = new ArrayList<>(); for (MyObj obj : objs) { if (isA(obj)){ objsThatAreA .add(obj); } else if isB(obj)) objsThatAreB.add(obj); } // Others are "discarded" Can be C,D,E and so on, but all are exclusive, can only be in one state. } 重新安装// Can this be done O(n)? Stream<MyObj> objStream = objs.stream(); Stream<MyObj> objsThatAreA = objStream.filter(o -> isA(i)); Stream<MyObj> objsThatAreB = objStream.filter(o -> isB(i));

没有任何作用。我还能尝试什么?

0 个答案:

没有答案