diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2022-05-23 12:25:11 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2022-05-23 12:25:11 -0600 |
commit | 901674e84756d64024cdc70f9590c3557c6d92d6 (patch) | |
tree | d3b90c50a39f4a7f220b0a19718dc305fe1c7af4 /plugins/python/python.plugin.zsh | |
parent | 2023d3ab658fe8ed4dd4ca33cd5974ab8f0ad945 (diff) | |
parent | 39b600e9e564db3dec265fcf2e3db4b5568dd93a (diff) | |
download | zsh-901674e84756d64024cdc70f9590c3557c6d92d6.tar.gz zsh-901674e84756d64024cdc70f9590c3557c6d92d6.tar.bz2 zsh-901674e84756d64024cdc70f9590c3557c6d92d6.zip |
Merge remote-tracking branch 'github/master'
Diffstat (limited to 'plugins/python/python.plugin.zsh')
-rw-r--r-- | plugins/python/python.plugin.zsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/python/python.plugin.zsh b/plugins/python/python.plugin.zsh index 7a73ab92a..2fbb59577 100644 --- a/plugins/python/python.plugin.zsh +++ b/plugins/python/python.plugin.zsh @@ -1,5 +1,5 @@ # python command -alias py='python' +alias py='python3' # Find python file alias pyfind='find . -name "*.py"' @@ -44,10 +44,10 @@ function pyuserpaths() { alias pygrep='grep -nr --include="*.py"' # Run proper IPython regarding current virtualenv (if any) -alias ipython="python -c 'import IPython; IPython.terminal.ipapp.launch_new_instance()'" +alias ipython="python3 -c 'import IPython; IPython.terminal.ipapp.launch_new_instance()'" # Share local directory as a HTTP server -alias pyserver="python -m http.server" +alias pyserver="python3 -m http.server" ## venv utilities |