diff options
author | Vanessasaurus <vsochat@stanford.edu> | 2021-01-05 17:54:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 16:54:47 -0800 |
commit | 67ce1939a32fd2c90f989087a07aa0723f254063 (patch) | |
tree | da96263791761c7a7d83fc787c9f445174b2bce5 /share/spack | |
parent | 35d81a9006a5fa32a012a40874ac6cbdefd4a259 (diff) | |
download | spack-67ce1939a32fd2c90f989087a07aa0723f254063.tar.gz spack-67ce1939a32fd2c90f989087a07aa0723f254063.tar.bz2 spack-67ce1939a32fd2c90f989087a07aa0723f254063.tar.xz spack-67ce1939a32fd2c90f989087a07aa0723f254063.zip |
spack python: allow use of IPython (#20329)
This adds a -i option to "spack python" which allows use of the
IPython interpreter; it can be used with "spack python -i ipython".
This assumes it is available in the Python instance used to run
Spack (i.e. that you can "import IPython").
Diffstat (limited to 'share/spack')
-rwxr-xr-x | share/spack/spack-completion.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 6a1c912539..d74bd67265 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -1373,7 +1373,7 @@ _spack_pydoc() { _spack_python() { if $list_options then - SPACK_COMPREPLY="-h --help -V --version -c -m" + SPACK_COMPREPLY="-h --help -V --version -c -i -m" else SPACK_COMPREPLY="" fi |