{"action":"closed","issue":{"url":"https://api.github.com/repos/pavoljuhas/smart-change-directory/issues/4","repository_url":"https://api.github.com/repos/pavoljuhas/smart-change-directory","labels_url":"https://api.github.com/repos/pavoljuhas/smart-change-directory/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/pavoljuhas/smart-change-directory/issues/4/comments","events_url":"https://api.github.com/repos/pavoljuhas/smart-change-directory/issues/4/events","html_url":"https://github.com/pavoljuhas/smart-change-directory/issues/4","id":236695773,"number":4,"title":"ZSH SCD_HISTORY is messed up OR can't find SCD_SCRIPT","user":{"login":"HeroJeanPierre","id":22944517,"avatar_url":"https://avatars3.githubusercontent.com/u/22944517?v=3","gravatar_id":"","url":"https://api.github.com/users/HeroJeanPierre","html_url":"https://github.com/HeroJeanPierre","followers_url":"https://api.github.com/users/HeroJeanPierre/followers","following_url":"https://api.github.com/users/HeroJeanPierre/following{/other_user}","gists_url":"https://api.github.com/users/HeroJeanPierre/gists{/gist_id}","starred_url":"https://api.github.com/users/HeroJeanPierre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeroJeanPierre/subscriptions","organizations_url":"https://api.github.com/users/HeroJeanPierre/orgs","repos_url":"https://api.github.com/users/HeroJeanPierre/repos","events_url":"https://api.github.com/users/HeroJeanPierre/events{/privacy}","received_events_url":"https://api.github.com/users/HeroJeanPierre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-18T02:24:31Z","updated_at":"2017-06-21T23:37:01Z","closed_at":"2017-06-21T23:37:01Z","body":"So this is really weird. Every time I source the zsh file, it iterates between two problem states. The first is this.\r\n \r\nI'm in home. So I cd'd into my Desktop, and ran. \r\n\r\n`scd -a .`\r\n\r\nand this is what appeared in my .scdhistory.\r\n\r\n`: 1497752285:0;~/Desktop ~/Desktop ~ ~/Desktop/All_Code/Java ~/Android ~/Desktop/All_Code ~/.scripts/smart-change-directory/bin ~/.scripts/smart-change-directory ~/.scripts\r\n/home/myname/Desktop\r\n: 1497752285:0;~/Desktop ~ ~/Desktop/All_Code/Java ~/Android ~/Desktop/All_Code ~/.scripts/smart-change-directory/bin ~/.scripts/smart-change-directory ~/.scripts`\r\n\r\nSo I was like what the heck. It's only supposed to add one new directory. So I sourced the file again. And bam, it started putting in directories one at a time: \r\n\r\n`: 1497752128:0;/home/myname/Desktop\r\n: 1497752143:0;/home/myname\r\n: 1497752153:0;/home/myname/Desktop/All_Code/Java\r\n: 1497752157:0;/home/myname`\r\n\r\nBut when I did \r\n\r\n`scd All`\r\n\r\nfor example, it would output \r\n\r\n`Warning: running as command with SCD_SCRIPT undefined.`\r\n\r\nSo that was frustrating. So I restarted my zshrc file again. Low and behold, \r\n\r\n`scd All` \r\n\r\nSent me to /home/myname/Desktop/All_Code/, however, it was adding directories to the .scdhistory the same way it was in the first problem. \r\n\r\nAny thoughts? Can this be fixed?"}}
{"actor":{"display_login":"pavoljuhas"}}