{"action":"created","issue":{"url":"https://api.github.com/repos/jtyr/gbt/issues/22","repository_url":"https://api.github.com/repos/jtyr/gbt","labels_url":"https://api.github.com/repos/jtyr/gbt/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/jtyr/gbt/issues/22/comments","events_url":"https://api.github.com/repos/jtyr/gbt/issues/22/events","html_url":"https://github.com/jtyr/gbt/issues/22","id":371474762,"node_id":"MDU6SXNzdWUzNzE0NzQ3NjI=","number":22,"title":"Unable to setup prompt forwarding on macOS Mojave.","user":{"login":"cooperaj","id":400210,"node_id":"MDQ6VXNlcjQwMDIxMA==","avatar_url":"https://avatars1.githubusercontent.com/u/400210?v=4","gravatar_id":"","url":"https://api.github.com/users/cooperaj","html_url":"https://github.com/cooperaj","followers_url":"https://api.github.com/users/cooperaj/followers","following_url":"https://api.github.com/users/cooperaj/following{/other_user}","gists_url":"https://api.github.com/users/cooperaj/gists{/gist_id}","starred_url":"https://api.github.com/users/cooperaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooperaj/subscriptions","organizations_url":"https://api.github.com/users/cooperaj/orgs","repos_url":"https://api.github.com/users/cooperaj/repos","events_url":"https://api.github.com/users/cooperaj/events{/privacy}","received_events_url":"https://api.github.com/users/cooperaj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-10-18T10:59:21Z","updated_at":"2018-10-18T12:53:33Z","closed_at":null,"author_association":"NONE","body":"For a simple life I just want it working with SSH. I have:\r\n\r\n```\r\n# GBT Prompt forwarding\r\nexport GBT__HOME='/usr/local/share/gbt-git'\r\n# Use 'md5' command instead of 'md5sum'\r\nexport GBT__SOURCE_MD5_LOCAL='md5'\r\n# Cut the 4th field from the output of 'md5'\r\nexport GBT__SOURCE_MD5_CUT_LOCAL='4'\r\n# Use 'gdate' instead of 'date'\r\nexport GBT__SOURCE_DATE='gdate'\r\n# Use 'gdate' instead of 'date' (only if you run GBT on a Mac)\r\nexport GBT__SOURCE_BASE64_LOCAL='gbase64'\r\n# List of plugins to pack for local commands\r\nexport GBT__PLUGINS_LOCAL='ssh'\r\nsource \"$GBT__HOME/sources/gbts/cmd/local.sh\"\r\n\r\nalias ssh='gbt_ssh'\r\n```\r\n\r\nWhen running 'ssh' I get the error `gbt_ssh:7: command not found: ssh: aliased to gbt_ssh`. I believe this is because the gbt_ssh script calls 'ssh', which is aliased. Though I'm not even 50% on that."},"comment":{"url":"https://api.github.com/repos/jtyr/gbt/issues/comments/430996879","html_url":"https://github.com/jtyr/gbt/issues/22#issuecomment-430996879","issue_url":"https://api.github.com/repos/jtyr/gbt/issues/22","id":430996879,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDk5Njg3OQ==","user":{"login":"jtyr","id":3788909,"node_id":"MDQ6VXNlcjM3ODg5MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/3788909?v=4","gravatar_id":"","url":"https://api.github.com/users/jtyr","html_url":"https://github.com/jtyr","followers_url":"https://api.github.com/users/jtyr/followers","following_url":"https://api.github.com/users/jtyr/following{/other_user}","gists_url":"https://api.github.com/users/jtyr/gists{/gist_id}","starred_url":"https://api.github.com/users/jtyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtyr/subscriptions","organizations_url":"https://api.github.com/users/jtyr/orgs","repos_url":"https://api.github.com/users/jtyr/repos","events_url":"https://api.github.com/users/jtyr/events{/privacy}","received_events_url":"https://api.github.com/users/jtyr/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T12:53:33Z","updated_at":"2018-10-18T12:53:33Z","author_association":"OWNER","body":"Please could you try to debug the command used to determine the shell? Try to run the following one by one:\r\n\r\n```shell\r\nps -p $$\r\nps -p $$ 2>/dev/null | awk '$1 != \"PID\" {print $(NF)}'\r\nps -p $$ 2>/dev/null | awk '$1 != \"PID\" {print $(NF)}' | sed 's/-//g'\r\n```"}}
{"actor":{"display_login":"jtyr"}}