diff options
author | Carlo Sala <carlosalag@protonmail.com> | 2022-04-09 14:45:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-09 14:45:42 +0200 |
commit | 0818df057cca59a949ffa88947a6b16dec2411ca (patch) | |
tree | e74e2a141c494fad28b72f0829655f1c448021f1 /plugins/python/python.plugin.zsh | |
parent | b3999a4b156185b617a5608317497399f88dc8fe (diff) | |
download | zsh-0818df057cca59a949ffa88947a6b16dec2411ca.tar.gz zsh-0818df057cca59a949ffa88947a6b16dec2411ca.tar.bz2 zsh-0818df057cca59a949ffa88947a6b16dec2411ca.zip |
fix: use `python3` for all `python` invocations (#10832)
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 |