From 10cd949696c28a37704ee9a04ba0eaa104582c9f Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Thu, 21 Feb 2019 22:53:13 -0600 Subject: [PATCH 1/2] Add editorconfig VIM plugin. --- dotfiles/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/vimrc b/dotfiles/vimrc index f20669b..d42dddd 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -21,6 +21,7 @@ if filereadable(glob("~/.vim/bundle/Vundle.vim/README.md")) Plugin 'Matt-Deacalion/vim-systemd-syntax' Plugin 'fatih/vim-go' Plugin 'vhda/verilog_systemverilog.vim' + Plugin 'editorconfig/editorconfig-vim' call vundle#end() endif From c86050bc3be63397219ae651c1200673e9480e7f Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Mon, 4 Mar 2019 07:40:08 -0800 Subject: [PATCH 2/2] Use ipython when available. --- dotfiles/ipython.py | 4 ++++ dotfiles/zshrc.d/ipython.zsh | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 dotfiles/ipython.py create mode 100644 dotfiles/zshrc.d/ipython.zsh diff --git a/dotfiles/ipython.py b/dotfiles/ipython.py new file mode 100644 index 0000000..f758bda --- /dev/null +++ b/dotfiles/ipython.py @@ -0,0 +1,4 @@ +import os, IPython +os.environ['PYTHONSTARTUP'] = '' # Prevent running this again +IPython.start_ipython() +raise SystemExit diff --git a/dotfiles/zshrc.d/ipython.zsh b/dotfiles/zshrc.d/ipython.zsh new file mode 100644 index 0000000..6dd7b40 --- /dev/null +++ b/dotfiles/zshrc.d/ipython.zsh @@ -0,0 +1,3 @@ +if which ipython >/dev/null 2>/dev/null ; then + export PYTHONSTARTUP="${HOME}/.ipython.py" +fi