mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-12-22 09:13:33 +01:00
[alias] prefer python3 when calling python
This commit is contained in:
parent
ebc57a32a5
commit
703d92c0da
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@ alias sudo='sudo '
|
||||||
# Reload bashrc
|
# Reload bashrc
|
||||||
alias bashreload="source ~/.bashrc"
|
alias bashreload="source ~/.bashrc"
|
||||||
|
|
||||||
|
# Always prefer Python3
|
||||||
|
alias python='python3'
|
||||||
|
|
||||||
# Easy calculator instead of bc
|
# Easy calculator instead of bc
|
||||||
alias pc='python -ic "from __future__ import division; from math import *"'
|
alias pc='python -ic "from __future__ import division; from math import *"'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue