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:
@@ -8,7 +8,8 @@ import sys
|
|||||||
kernel_json = {"argv":[sys.executable,"-m","bash_kernel", "-f", "{connection_file}"],
|
kernel_json = {"argv":[sys.executable,"-m","bash_kernel", "-f", "{connection_file}"],
|
||||||
"display_name":"Bash",
|
"display_name":"Bash",
|
||||||
"language":"bash",
|
"language":"bash",
|
||||||
"codemirror_mode":"shell"
|
"codemirror_mode":"shell",
|
||||||
|
"env":{"PS1": "$"}
|
||||||
}
|
}
|
||||||
|
|
||||||
class install_with_kernelspec(install):
|
class install_with_kernelspec(install):
|
||||||
@@ -52,4 +53,4 @@ setup(name='bash_kernel',
|
|||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Topic :: System :: Shells',
|
'Topic :: System :: Shells',
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user