diff --git a/INSTALL.sh b/INSTALL.sh index 928c288..cc9dd82 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -10,6 +10,7 @@ ln -s ~/.config/nvim ~/.vim ln -s ~/.config/nvim/init.vim ~/.vimrc ln -s $(pwd)/zshrc ~/.zshrc ln -s $(pwd)/tyrel.zsh-theme ~/.oh-my-zsh/themes/tyrel.zsh-theme +ln -s $(pwd)/pythonstartup.py ~/.pythonstartup.py # Setup vim mkdir -p ~/.vim/bundle diff --git a/pythonstartup.py b/pythonstartup.py new file mode 100644 index 0000000..ed6f9f8 --- /dev/null +++ b/pythonstartup.py @@ -0,0 +1,3 @@ +import sys +import pprint +sys.displayhook = pprint.pprint diff --git a/vimrc b/vimrc index 5d4bf4f..e06f4f3 100644 --- a/vimrc +++ b/vimrc @@ -114,3 +114,5 @@ if filereadable($HOME . "/.vimrc.local") source ~/.vimrc.local endif set background=dark +let NERDTreeIgnore = ['\.pyc$'] + diff --git a/zshrc b/zshrc index 8a84ec6..78e0749 100644 --- a/zshrc +++ b/zshrc @@ -69,3 +69,4 @@ source $HOME/.profile if [ -e $HOME/.credentials ];then source $HOME/.credentials fi +export PYTHONSTARTUP=$HOME/.pythonstartup.py