diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2020-02-27 14:43:29 -0800 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2020-02-27 14:43:29 -0800 |
commit | 0b67340fd2fe9330d8487491e1983ad1a111fb2b (patch) | |
tree | fe9cdff80e98deced5c63e79110593d430802adb /plugins/python/python.plugin.zsh | |
parent | 93a2003db7738e2255a4589ef2073df1be34fe02 (diff) | |
parent | 2b499e1a9e8788d607768ecef67851e8234b72b3 (diff) | |
download | zsh-0b67340fd2fe9330d8487491e1983ad1a111fb2b.tar.gz zsh-0b67340fd2fe9330d8487491e1983ad1a111fb2b.tar.bz2 zsh-0b67340fd2fe9330d8487491e1983ad1a111fb2b.zip |
Merge branch 'master' of https://github.com/ohmyzsh/ohmyzsh
Diffstat (limited to 'plugins/python/python.plugin.zsh')
-rw-r--r-- | plugins/python/python.plugin.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/python/python.plugin.zsh b/plugins/python/python.plugin.zsh index f39cd80b7..62855fca2 100644 --- a/plugins/python/python.plugin.zsh +++ b/plugins/python/python.plugin.zsh @@ -14,3 +14,5 @@ function pyclean() { # Grep among .py files alias pygrep='grep -r --include="*.py"' +# Run proper IPython regarding current virtualenv (if any) +alias ipython="python -c 'import IPython; IPython.terminal.ipapp.launch_new_instance()'" |