From 67ce1939a32fd2c90f989087a07aa0723f254063 Mon Sep 17 00:00:00 2001 From: Vanessasaurus Date: Tue, 5 Jan 2021 17:54:47 -0700 Subject: 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"). --- share/spack/spack-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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 -- cgit v1.2.3-70-g09d2