get python version

This commit is contained in:
Blallo 2021-03-18 11:15:54 +01:00
parent 67373f2bd8
commit 50344aebb6
No known key found for this signature in database
GPG key ID: 0CBE577C9B72DC3F

3
.zshrc
View file

@ -106,6 +106,9 @@ export PATH=${GOPATH}/bin:$PATH
## Elixir
export ERL_AFLAGS="-kernel shell_history enabled"
## Python
PYTHON_VERSION=$(python -c 'import sys; print("{}.{}".format(*sys.version_info[0:2]))')
## Aliases
alias t="tmux -2"
alias sy="systemctl"