From 883a2dfb473e1b4b0a4bb20a48d798c53ef7c687 Mon Sep 17 00:00:00 2001 From: Xavier Olive Date: Mon, 2 Mar 2015 23:01:55 +0100 Subject: [PATCH] A proposal for a quick fix to issue #15 Bash prompt must end by $ for the kernel to work properly. --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 4136ebe..d139f78 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,8 @@ import sys kernel_json = {"argv":[sys.executable,"-m","bash_kernel", "-f", "{connection_file}"], "display_name":"Bash", "language":"bash", - "codemirror_mode":"shell" + "codemirror_mode":"shell", + "env":{"PS1": "$"} } class install_with_kernelspec(install): @@ -52,4 +53,4 @@ setup(name='bash_kernel', 'Programming Language :: Python :: 3', 'Topic :: System :: Shells', ] -) \ No newline at end of file +)