Explorar el Código

get python version

Blallo hace 3 años
padre
commit
50344aebb6
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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"