mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-11-12 22:53:31 +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
|
||||
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 *"'
|
||||
|
||||
|
|
Loading…
Reference in a new issue