Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法将自制软件安装组合在一起?
假设我想安装一系列东西 - homebrew/versions/mysql51、homebrew/versions/ruby192、rvm。
但我也希望能够切换到另一个集合——mysql、ruby、rbenv。而且我开关的时候其他的都关了,以免冲突。
有没有办法做到这一点?
我不确定我是否完全遵循,但您可以编写取消链接/链接的脚本。
$ ./coll1 $ ./coll2
其中 coll1 和 coll2 是脚本、bash 函数或别名
coll1() { brew unlink mysql51 brew unlink ruby192 } coll2() { brew link mysql brew link ruby }
There are slightly less than a billion similar questions on SO, with about the same number of reasons for the error. I just don't seem to find mine.
Kwicks accordian and the jQuer