Fred Damstra 6 lat temu
rodzic
commit
0d7987c5bf
2 zmienionych plików z 8 dodań i 0 usunięć
  1. 5 0
      .bashrc
  2. 3 0
      .vimrc

+ 5 - 0
.bashrc

@@ -150,3 +150,8 @@ export ANSIBLE_INVENTORY=~/ansible/ansible_hosts
 export ANSIBLE_HOST_KEY_CHECKING=False
 export ANSIBLE_HOST_KEY_CHECKING=False
 
 
 [[ $(type -P fortune) ]] && [[ $(type -P cowsay) ]] && [[ $(type -P lolcat) ]] && fortune | cowsay | lolcat
 [[ $(type -P fortune) ]] && [[ $(type -P cowsay) ]] && [[ $(type -P lolcat) ]] && fortune | cowsay | lolcat
+
+# Python venv?
+if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi
+
+alias python='python3'

+ 3 - 0
.vimrc

@@ -48,3 +48,6 @@ filetype plugin indent on    " required
 " see :h vundle for more details or wiki for FAQ
 " see :h vundle for more details or wiki for FAQ
 " Put your non-Plugin stuff after this line
 " Put your non-Plugin stuff after this line
 
 
+set tabstop=2
+set shiftwidth=2
+set expandtab