mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-21 15:49:50 +00:00
fix: use python3 for all python invocations (#10832)
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
# - acs: alias cheatsheet
|
||||
# group alias by command, pass addition argv to grep.
|
||||
function acs(){
|
||||
(( $+commands[python] )) || {
|
||||
(( $+commands[python3] )) || {
|
||||
echo "[error] No python executable detected"
|
||||
return
|
||||
}
|
||||
alias | python ${functions_source[$0]:h}/cheatsheet.py $@
|
||||
alias | python3 ${functions_source[$0]:h}/cheatsheet.py $@
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user