Browse Source

get python version

Blallo 3 years ago
parent
commit
50344aebb6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .zshrc

+ 3 - 0
.zshrc

@@ -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"