mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-05-11 05:55:17 +00:00
fix: use python3
for all python
invocations (#10832)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user