[alias] prefer python3 when calling python

This commit is contained in:
Eric Teunis de Boone 2024-06-26 14:55:43 +02:00
parent ebc57a32a5
commit 703d92c0da
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ alias sudo='sudo '
# Reload bashrc
alias bashreload="source ~/.bashrc"
# Always prefer Python3
alias python='python3'
# Easy calculator instead of bc
alias pc='python -ic "from __future__ import division; from math import *"'