mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 23:40:39 +01:00
fix(python): set py alias if py is not installed (#12059)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# python command
|
||||
alias py='python3'
|
||||
# set python command if 'py' not installed
|
||||
builtin which py > /dev/null || alias py='python3'
|
||||
|
||||
# Find python file
|
||||
alias pyfind='find . -name "*.py"'
|
||||
|
||||
Reference in New Issue
Block a user