{"action":"created","issue":{"url":"https://api.github.com/repos/b4b4r07/zplug/issues/61","labels_url":"https://api.github.com/repos/b4b4r07/zplug/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/b4b4r07/zplug/issues/61/comments","events_url":"https://api.github.com/repos/b4b4r07/zplug/issues/61/events","html_url":"https://github.com/b4b4r07/zplug/issues/61","id":122910109,"number":61,"title":"Symlinks not removed with zplug clean","user":{"login":"NigoroJr","id":1430364,"avatar_url":"https://avatars.githubusercontent.com/u/1430364?v=3","gravatar_id":"","url":"https://api.github.com/users/NigoroJr","html_url":"https://github.com/NigoroJr","followers_url":"https://api.github.com/users/NigoroJr/followers","following_url":"https://api.github.com/users/NigoroJr/following{/other_user}","gists_url":"https://api.github.com/users/NigoroJr/gists{/gist_id}","starred_url":"https://api.github.com/users/NigoroJr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NigoroJr/subscriptions","organizations_url":"https://api.github.com/users/NigoroJr/orgs","repos_url":"https://api.github.com/users/NigoroJr/repos","events_url":"https://api.github.com/users/NigoroJr/events{/privacy}","received_events_url":"https://api.github.com/users/NigoroJr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/b4b4r07/zplug/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-18T09:16:14Z","updated_at":"2015-12-19T03:02:15Z","closed_at":"2015-12-19T02:45:24Z","body":"## Description\r\nDead symbolic links are left in `$ZPLUG_HOME/bin` after cleaning unused plugins with `zplug clean`.\r\n\r\n## Steps to reproduce\r\n```sh\r\n$ zplug tj/n, as:command, of:bin/n\r\n$ zplug install\r\n$ zplug load\r\n$ ls -l $ZPLUG_HOME/bin/n\r\n# Remove from $ZPLUG_EXTERNAL\r\n$ sed -i'' '$d' $ZPLUG_EXTERNAL\r\n# Now, launch a new zsh process\r\n$ exec zsh\r\n$ zplug clean\r\n$ ls -l $ZPLUG_HOME/bin/n\r\n```\r\n\r\nAfter the last command, it shows that `n` is not linked. This also happens when simply running `zplug clean tj/n` to manually remove a plugin."},"comment":{"url":"https://api.github.com/repos/b4b4r07/zplug/issues/comments/165939499","html_url":"https://github.com/b4b4r07/zplug/issues/61#issuecomment-165939499","issue_url":"https://api.github.com/repos/b4b4r07/zplug/issues/61","id":165939499,"user":{"login":"NigoroJr","id":1430364,"avatar_url":"https://avatars.githubusercontent.com/u/1430364?v=3","gravatar_id":"","url":"https://api.github.com/users/NigoroJr","html_url":"https://github.com/NigoroJr","followers_url":"https://api.github.com/users/NigoroJr/followers","following_url":"https://api.github.com/users/NigoroJr/following{/other_user}","gists_url":"https://api.github.com/users/NigoroJr/gists{/gist_id}","starred_url":"https://api.github.com/users/NigoroJr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NigoroJr/subscriptions","organizations_url":"https://api.github.com/users/NigoroJr/orgs","repos_url":"https://api.github.com/users/NigoroJr/repos","events_url":"https://api.github.com/users/NigoroJr/events{/privacy}","received_events_url":"https://api.github.com/users/NigoroJr/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T03:02:15Z","updated_at":"2015-12-19T03:02:15Z","body":"Confirmed fix. Thanks :)"}}