{"action":"created","issue":{"url":"https://api.github.com/repos/takluyver/bash_kernel/issues/22","labels_url":"https://api.github.com/repos/takluyver/bash_kernel/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/takluyver/bash_kernel/issues/22/comments","events_url":"https://api.github.com/repos/takluyver/bash_kernel/issues/22/events","html_url":"https://github.com/takluyver/bash_kernel/issues/22","id":69848827,"number":22,"title":".bashrc Seems to Cause the Kernel not to Work","user":{"login":"joshlatto","id":7229902,"avatar_url":"https://avatars.githubusercontent.com/u/7229902?v=3","gravatar_id":"","url":"https://api.github.com/users/joshlatto","html_url":"https://github.com/joshlatto","followers_url":"https://api.github.com/users/joshlatto/followers","following_url":"https://api.github.com/users/joshlatto/following{/other_user}","gists_url":"https://api.github.com/users/joshlatto/gists{/gist_id}","starred_url":"https://api.github.com/users/joshlatto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshlatto/subscriptions","organizations_url":"https://api.github.com/users/joshlatto/orgs","repos_url":"https://api.github.com/users/joshlatto/repos","events_url":"https://api.github.com/users/joshlatto/events{/privacy}","received_events_url":"https://api.github.com/users/joshlatto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-21T13:40:37Z","updated_at":"2015-04-21T16:39:15Z","closed_at":null,"body":"I have the following in my .bashrc:\r\n\r\n```sh\r\n\\# .bashrc\r\n\r\n\\# Source global definitions\r\nif [ -f /etc/bashrc ]; then\r\n    . /etc/bashrc\r\nfi\r\n\r\n\\# User specific aliases and functions\r\nI have a bunch of straightforward aliases, but I don't think they are causing the problem. They are all either database calls or things like rm='rm -i'. We suspect that the color changes in my prompt are the problem. \r\n\r\n#export PS1=\"[jlatto@Winterfell:\\w $(date)]> \"\r\n\r\n#export PS1=\"[\\t] \\[\\033[1;33m\\]\\u\\[\\033[0m\\]@\\h:\\[\\033[36m\\][\\w]:\\[\\033[0m\\]> \"\r\nexport PS1=\"[\\t] \\[\\033[1;35m\\] \\u\\[\\033[0m\\]@R\\[\\033[36m\\] [\\w]\\[\\033[0m\\]> \"\r\n#export PS1=\"[\\e]2;\\w\\a\\e[31;40;1m]----------------------------------------------------------------------------------------------------------------------------------------------------------------\\n)[\\e[0m] \";\r\n```\r\n\r\nWhen I run the notebook server and open up a notebook with the Bash Kernel, nothing will run. If I comment out everything, and then relaunch the server it works fine. Please let me know if there is other information that would be useful. Thanks for looking into this! "},"comment":{"url":"https://api.github.com/repos/takluyver/bash_kernel/issues/comments/94864812","html_url":"https://github.com/takluyver/bash_kernel/issues/22#issuecomment-94864812","issue_url":"https://api.github.com/repos/takluyver/bash_kernel/issues/22","id":94864812,"user":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T16:39:15Z","updated_at":"2015-04-21T16:39:15Z","body":"For the moment, modifying PS1 causes it problems. This will be fixed when we get Pexpect 4 out, which I hope will be soon."}}