{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/pure/issues/300","repository_url":"https://api.github.com/repos/sindresorhus/pure","labels_url":"https://api.github.com/repos/sindresorhus/pure/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/pure/issues/300/comments","events_url":"https://api.github.com/repos/sindresorhus/pure/issues/300/events","html_url":"https://github.com/sindresorhus/pure/issues/300","id":210192636,"number":300,"title":"no such file or directory: ~/.oh-my-zsh/themes/pure.zsh-theme","user":{"login":"ycho1015","id":22088039,"avatar_url":"https://avatars.githubusercontent.com/u/22088039?v=3","gravatar_id":"","url":"https://api.github.com/users/ycho1015","html_url":"https://github.com/ycho1015","followers_url":"https://api.github.com/users/ycho1015/followers","following_url":"https://api.github.com/users/ycho1015/following{/other_user}","gists_url":"https://api.github.com/users/ycho1015/gists{/gist_id}","starred_url":"https://api.github.com/users/ycho1015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ycho1015/subscriptions","organizations_url":"https://api.github.com/users/ycho1015/orgs","repos_url":"https://api.github.com/users/ycho1015/repos","events_url":"https://api.github.com/users/ycho1015/events{/privacy}","received_events_url":"https://api.github.com/users/ycho1015/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-25T00:25:47Z","updated_at":"2017-02-25T08:53:24Z","closed_at":null,"body":"### General information\r\n\r\n- Pure version: latest\r\n- ZSH version: 5.3.1\r\n- Terminal program & version: Hyper 1.2.1.1527\r\n- Operating system: macOS Sierra 10.12.13\r\n- ZSH framework: oh-my-zsh, zsh 5.3.1\r\n\r\nI have:\r\n- [x] Tested with another terminal program and can reproduce the issue: <!-- e.g. iTerm, etc. -->\r\n- [x] Followed the [Integration](https://github.com/sindresorhus/pure#integration) instructions for my framework\r\n\r\n### Problem description\r\n\r\nI have completely wiped out everything and did a new installation because of duplicate cp problem and here is what I am getting.\r\n<img width=\"669\" alt=\"2017-02-24 7 19 20\" src=\"https://cloud.githubusercontent.com/assets/22088039/23325826/5e85009a-fac6-11e6-8d72-22a11f33b193.png\">\r\n\r\n\r\n### Reproduction steps\r\n\r\n1. Deleted everything to start over\r\n2. Followed Integration for oh-my-zsh\r\n\r\nHere is my reinstallation process that I just did\r\n\r\n```shell\r\n$ mkdir ~/.oh-my-zsh/functions\r\n$ ln -s  \"$PWD/pure.zsh\" ~/.oh-my-zsh/functions/prompt_pure_setup\r\n$ ln -s \"$PWD/async.zsh\" ~/.oh-my-zsh/functions/async\r\n$ ln -s \"$PWD/pure.zsh\" ~/.oh-my-zsh/custom/pure.zsh-theme\r\n$ ln -s \"$PWD/async.zsh\" ~/.oh-my-zsh/custom/async.zsh\r\n\r\n$ ln -s \"$PWD/pure.zsh\" /usr/local/share/zsh/site-functions/prompt_pure_setup\r\n$ ln -s \"$PWD/async.zsh\" /usr/local/share/zsh/site-functions/async\r\n```\r\n### My `.zshrc`:\r\n\r\n```shell\r\nexport PATH=$HOME/bin:/usr/local/bin:$PATH\r\nexport ZSH=/Users/yoon/.oh-my-zsh\r\nZSH_THEME=\"pure\"\r\nautoload -U promptinit; promptinit\r\nprompt pure\r\nplugins=(git)\r\nsource $ZSH/oh-my-zsh.sh\r\n```\r\n\r\n### My `.hyper.js`:\r\n```shell\r\nshell: '/usr/local/bin/zsh'\r\nplugins: ['hyper-snazzy']\r\n```"},"comment":{"url":"https://api.github.com/repos/sindresorhus/pure/issues/comments/282470804","html_url":"https://github.com/sindresorhus/pure/issues/300#issuecomment-282470804","issue_url":"https://api.github.com/repos/sindresorhus/pure/issues/300","id":282470804,"user":{"login":"mafredri","id":147409,"avatar_url":"https://avatars.githubusercontent.com/u/147409?v=3","gravatar_id":"","url":"https://api.github.com/users/mafredri","html_url":"https://github.com/mafredri","followers_url":"https://api.github.com/users/mafredri/followers","following_url":"https://api.github.com/users/mafredri/following{/other_user}","gists_url":"https://api.github.com/users/mafredri/gists{/gist_id}","starred_url":"https://api.github.com/users/mafredri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafredri/subscriptions","organizations_url":"https://api.github.com/users/mafredri/orgs","repos_url":"https://api.github.com/users/mafredri/repos","events_url":"https://api.github.com/users/mafredri/events{/privacy}","received_events_url":"https://api.github.com/users/mafredri/received_events","type":"User","site_admin":false},"created_at":"2017-02-25T08:53:24Z","updated_at":"2017-02-25T08:53:24Z","body":"Regarding your reinstallation process you should only do **one** of:\r\n\r\n```\r\n$ ln -s  \"$PWD/pure.zsh\" ~/.oh-my-zsh/functions/prompt_pure_setup\r\n$ ln -s \"$PWD/async.zsh\" ~/.oh-my-zsh/functions/async\r\n```\r\nor\r\n```\r\n$ ln -s \"$PWD/pure.zsh\" ~/.oh-my-zsh/custom/pure.zsh-theme\r\n$ ln -s \"$PWD/async.zsh\" ~/.oh-my-zsh/custom/async.zsh\r\n```\r\nor\r\n```\r\n$ ln -s \"$PWD/pure.zsh\" /usr/local/share/zsh/site-functions/prompt_pure_setup\r\n$ ln -s \"$PWD/async.zsh\" /usr/local/share/zsh/site-functions/async\r\n```\r\n\r\nPersonally I recommend against the middle variant, since OMZ contains the *fake* pure theme that conflicts with ours, which is a big reason for headache for both our users and us.\r\n\r\nI also recommend (assuming **not** using the middle variant with `.zsh-theme`) that you use this as your `.zshrc`, exactly as written (order might be important):\r\n\r\n```zsh\r\n# Setup oh-my-zsh\r\nexport ZSH=/Users/yoon/.oh-my-zsh\r\nZSH_THEME=\"\"  # Disable themes\r\nplugins=(git)\r\nsource $ZSH/oh-my-zsh.sh\r\n\r\n# Load the pure theme\r\nautoload -U promptinit; promptinit\r\nprompt pure\r\n```\r\n\r\n---\r\n\r\nNow from what you've reported here, I gather you still have the duplicate cd problem in Hyper?\r\n\r\nFirst step, try disabling oh-my-zsh, here's the entire contents of your `.zshrc`:\r\n\r\n```zsh\r\nfpath+=(~/.oh-my-zsh/functions)  # This is just to make pure available in $fpath if linked here.\r\n\r\n# Load the pure theme\r\nautoload -U promptinit; promptinit\r\nprompt pure\r\n```\r\n\r\nCan you still reproduce the problem?"}}
{"actor":{"display_login":"mafredri"}}