fix: use python3 for all python invocations (#10832)

This commit is contained in:
Carlo Sala authored and GitHub committed 2022-04-09 14:45:42 +02:00
1 parent b3999a4b15
commit 0818df057c
9 files changed
+17 -17

No files matched your search

+2 -2
View File
@@ -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 $@
}