{"action":"created","issue":{"url":"https://api.github.com/repos/KeenS/CIM/issues/59","labels_url":"https://api.github.com/repos/KeenS/CIM/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/KeenS/CIM/issues/59/comments","events_url":"https://api.github.com/repos/KeenS/CIM/issues/59/events","html_url":"https://github.com/KeenS/CIM/issues/59","id":103663895,"number":59,"title":"Infinite Loop occurs when I try to execute implementation's command in a shell","user":{"login":"mjhd-devlion","id":6854255,"avatar_url":"https://avatars.githubusercontent.com/u/6854255?v=3","gravatar_id":"","url":"https://api.github.com/users/mjhd-devlion","html_url":"https://github.com/mjhd-devlion","followers_url":"https://api.github.com/users/mjhd-devlion/followers","following_url":"https://api.github.com/users/mjhd-devlion/following{/other_user}","gists_url":"https://api.github.com/users/mjhd-devlion/gists{/gist_id}","starred_url":"https://api.github.com/users/mjhd-devlion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjhd-devlion/subscriptions","organizations_url":"https://api.github.com/users/mjhd-devlion/orgs","repos_url":"https://api.github.com/users/mjhd-devlion/repos","events_url":"https://api.github.com/users/mjhd-devlion/events{/privacy}","received_events_url":"https://api.github.com/users/mjhd-devlion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-28T07:36:27Z","updated_at":"2015-08-29T05:31:24Z","closed_at":null,"body":"Here's the steps to reproduce this problem:\r\n```bash\r\n$ cim use clisp-system\r\n$ sbcl  (another implementation)\r\n(inifite loop...)\r\n```\r\nThis problem also occurs any implementations (and versions) pair.  \r\n\r\nI tried to fix this problem,\r\nand I found my config file (`current.$CIM_ID`) being like this:\r\n```\r\nLISP_IMPL=clisp-system\r\nabcl=abcl\r\nalisp=alisp\r\nccl=ccl\r\nclisp=clisp-system\r\necl=ecl\r\nlisp=lisp\r\nsbcl=sbcl\r\n```\r\nI think it should be like this:\r\n```\r\nLISP_IMPL=clisp-system\r\nabcl=abcl-system\r\nalisp=alisp-system\r\nccl=ccl-system\r\nclisp=clisp-system\r\necl=ecl-system\r\nlisp=lisp-system\r\nsbcl=sbcl-system\r\n```\r\nSo I rewrote the file, but the `cim use ***` command resets my config file.\r\n\r\nFinally, I edited `.cim/scripts/cim_cmd_use` file's line 30 to be `echo \"${var%-*}=$var-system\"` temporarily.\r\nhttps://github.com/KeenS/CIM/blob/master/scripts/cim_cmd_use#L30"},"comment":{"url":"https://api.github.com/repos/KeenS/CIM/issues/comments/135943309","html_url":"https://github.com/KeenS/CIM/issues/59#issuecomment-135943309","issue_url":"https://api.github.com/repos/KeenS/CIM/issues/59","id":135943309,"user":{"login":"KeenS","id":4434568,"avatar_url":"https://avatars.githubusercontent.com/u/4434568?v=3","gravatar_id":"","url":"https://api.github.com/users/KeenS","html_url":"https://github.com/KeenS","followers_url":"https://api.github.com/users/KeenS/followers","following_url":"https://api.github.com/users/KeenS/following{/other_user}","gists_url":"https://api.github.com/users/KeenS/gists{/gist_id}","starred_url":"https://api.github.com/users/KeenS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KeenS/subscriptions","organizations_url":"https://api.github.com/users/KeenS/orgs","repos_url":"https://api.github.com/users/KeenS/repos","events_url":"https://api.github.com/users/KeenS/events{/privacy}","received_events_url":"https://api.github.com/users/KeenS/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T05:31:24Z","updated_at":"2015-08-29T05:31:24Z","body":"@mjhd-devlion I found this occurs only on OS X. Because I'm a Ubuntu user, it'll take some time to fix this bug. In develop c252c33fd8b5a23c3f1020b155118b7d0e7d65b8 I think this bug is fixed but I'm not sure.\r\nIf you don't mind, try\r\n\r\n    $ CIM_INSTALL_BRANCH=develop cim get\r\n\r\n."}}