diff options
| author | Gautam krishna R <rgautamkrishna@gmail.com> | 2024-01-13 23:17:54 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-13 18:47:54 +0100 |
| commit | 11b0ea33d1c770d69b1418bc78b27a936cc5a17e (patch) | |
| tree | 5270dccbbfe40170b9fa508915df6345d931323a /plugins/python | |
| parent | 15479ca5aee5cd430540794d1f5aae90e2f59cd0 (diff) | |
| download | zsh-11b0ea33d1c770d69b1418bc78b27a936cc5a17e.tar.gz zsh-11b0ea33d1c770d69b1418bc78b27a936cc5a17e.tar.bz2 zsh-11b0ea33d1c770d69b1418bc78b27a936cc5a17e.zip | |
fix(python): add support for cli args (#12159)
Diffstat (limited to 'plugins/python')
| -rw-r--r-- | plugins/python/python.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/python/python.plugin.zsh b/plugins/python/python.plugin.zsh index 3d7ca55c9..77d4bf425 100644 --- a/plugins/python/python.plugin.zsh +++ b/plugins/python/python.plugin.zsh @@ -44,7 +44,7 @@ function pyuserpaths() { alias pygrep='grep -nr --include="*.py"' # Run proper IPython regarding current virtualenv (if any) -alias ipython="python3 -c 'import IPython; IPython.terminal.ipapp.launch_new_instance()'" +alias ipython='python3 -c "import IPython, sys; sys.exit(IPython.start_ipython())"' # Share local directory as a HTTP server alias pyserver="python3 -m http.server" |
