A proposal for a quick fix to issue #15

Bash prompt must end by $ for the kernel to work properly.
This commit is contained in:
Xavier Olive
2015-03-02 23:01:55 +01:00
parent 2794e1bf18
commit 883a2dfb47
+3 -2
View File
@@ -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',
]
)
)