{"action":"created","issue":{"url":"https://api.github.com/repos/carnager/rofi-pass/issues/9","labels_url":"https://api.github.com/repos/carnager/rofi-pass/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/carnager/rofi-pass/issues/9/comments","events_url":"https://api.github.com/repos/carnager/rofi-pass/issues/9/events","html_url":"https://github.com/carnager/rofi-pass/issues/9","id":102003761,"number":9,"title":"Specifying an alternative root directory","user":{"login":"pigmonkey","id":502635,"avatar_url":"https://avatars.githubusercontent.com/u/502635?v=3","gravatar_id":"","url":"https://api.github.com/users/pigmonkey","html_url":"https://github.com/pigmonkey","followers_url":"https://api.github.com/users/pigmonkey/followers","following_url":"https://api.github.com/users/pigmonkey/following{/other_user}","gists_url":"https://api.github.com/users/pigmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/pigmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pigmonkey/subscriptions","organizations_url":"https://api.github.com/users/pigmonkey/orgs","repos_url":"https://api.github.com/users/pigmonkey/repos","events_url":"https://api.github.com/users/pigmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/pigmonkey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/carnager/rofi-pass/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"carnager","id":3321178,"avatar_url":"https://avatars.githubusercontent.com/u/3321178?v=3","gravatar_id":"","url":"https://api.github.com/users/carnager","html_url":"https://github.com/carnager","followers_url":"https://api.github.com/users/carnager/followers","following_url":"https://api.github.com/users/carnager/following{/other_user}","gists_url":"https://api.github.com/users/carnager/gists{/gist_id}","starred_url":"https://api.github.com/users/carnager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carnager/subscriptions","organizations_url":"https://api.github.com/users/carnager/orgs","repos_url":"https://api.github.com/users/carnager/repos","events_url":"https://api.github.com/users/carnager/events{/privacy}","received_events_url":"https://api.github.com/users/carnager/received_events","type":"User","site_admin":false},"milestone":null,"comments":16,"created_at":"2015-08-19T21:29:27Z","updated_at":"2015-08-21T15:11:02Z","closed_at":null,"body":"I have an alternative pass store at `~/otherpass`. I'm trying to use rofi-pass to interact with that store.\r\n\r\n    $ rofi-pass --root ~/otherpass\r\n\r\nThis results in a rofi window with no password entries.\r\n\r\nIt looks like on line 38 rofi-pass is trying to append the root dir to the default password store, resulting in something like `/home/user/.password-store///home/user/otherpass`. I think the line should be something more like:\r\n\r\n         \tpasswords=( \"${root}\"/**/*.gpg )\r\n\r\nLine 44 will also need to be altered so that the pass store dir is stripped from the filenames."},"comment":{"url":"https://api.github.com/repos/carnager/rofi-pass/issues/comments/133457588","html_url":"https://github.com/carnager/rofi-pass/issues/9#issuecomment-133457588","issue_url":"https://api.github.com/repos/carnager/rofi-pass/issues/9","id":133457588,"user":{"login":"pigmonkey","id":502635,"avatar_url":"https://avatars.githubusercontent.com/u/502635?v=3","gravatar_id":"","url":"https://api.github.com/users/pigmonkey","html_url":"https://github.com/pigmonkey","followers_url":"https://api.github.com/users/pigmonkey/followers","following_url":"https://api.github.com/users/pigmonkey/following{/other_user}","gists_url":"https://api.github.com/users/pigmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/pigmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pigmonkey/subscriptions","organizations_url":"https://api.github.com/users/pigmonkey/orgs","repos_url":"https://api.github.com/users/pigmonkey/repos","events_url":"https://api.github.com/users/pigmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/pigmonkey/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T15:11:02Z","updated_at":"2015-08-21T15:11:02Z","body":"This works:\r\n\r\n    $ rofi-pass --last-used --root ~/otherpass\r\n\r\nThis fails:\r\n\r\n    $ rofi-pass --root ~/otherpass --last-used"}}