{"push_id":2614926930,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"8df172987903b83a5ab81da9a6dce6bc8fc2f59f","before":"de04c1dd17af2942a78bd6f7f9784347db74a06b","commits":[{"sha":"2e4879390e9ae7c7a1c945628b5faaefd25827c9","author":{"name":"Mathias Fredriksson","email":"693551194b4a2f5223bc3e6cb385c77df8ad9ff1@gmail.com"},"message":"Prevent hostname from showing up in local X sessions (#398)\n\n* Prevent hostname from showing up in local X sessions\r\n\r\nThis change prevents the hostname from showing up when a terminal is\r\nopened inside a local X session (displayed as (:1)).\r\n\r\nFixes a regression introduced in #393.\r\n\r\n* Implement a more robust remote connection detection (who)\r\n\r\nFirst, we switch from `who am i` to `who -m` because this is the POSIX\r\nway and macOS supports it as well.\r\n\r\nSecond, if the above fails, we fall back to using just `who` and grep\r\nthe line that represents our TTY. This works e.g. with busybox systems.\r\n\r\nFinally, we use (extremely) simplified regular expressions for detecting\r\nIPv4, IPv6 and hostname. This is a best-effort attempt at detecting the\r\nremote connections when SSH_CONNECTION is not set.\r\n\r\n* Inherit SSH connection detection inside tmux or other subshells\r\n\r\n* Store match and use upper case export for consistency\r\n\r\nThis will also help with debugging if a user ever runs into a problem\r\nwhere the user/host is shown when it should not be:\r\n\r\n\t# typeset -p PROMPT_PURE_SSH_CONNECTION\r\n\texport PROMPT_PURE_SSH_CONNECTION='(::1)'","distinct":true,"url":"https://api.github.com/repos/ahmedelgabri/pure/commits/2e4879390e9ae7c7a1c945628b5faaefd25827c9"},{"sha":"ff6dc9a0e0b907d6d632a2f38c5c20ac7d260f55","author":{"name":"Ahmed El Gabri","email":"1698c2bea6c8000723d5bb70363a8352d846917e@gabri.me"},"message":"my customizations","distinct":true,"url":"https://api.github.com/repos/ahmedelgabri/pure/commits/ff6dc9a0e0b907d6d632a2f38c5c20ac7d260f55"},{"sha":"8df172987903b83a5ab81da9a6dce6bc8fc2f59f","author":{"name":"Ahmed El Gabri","email":"1698c2bea6c8000723d5bb70363a8352d846917e@gabri.me"},"message":"Add PURE_GIT_BRANCH","distinct":true,"url":"https://api.github.com/repos/ahmedelgabri/pure/commits/8df172987903b83a5ab81da9a6dce6bc8fc2f59f"}]}
{"actor":{"display_login":"ahmedelgabri"}}