Add pyenv, remove tabbing for Python, add notes alias

This commit is contained in:
Nicole Tietz-Sokolskaya 2018-06-08 09:36:46 -04:00
parent c4564abf21
commit 3fb2a6daf8
3 changed files with 5 additions and 2 deletions

View file

@ -7,6 +7,5 @@ then
. /etc/bash_completion . /etc/bash_completion
fi fi
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting

View file

@ -41,6 +41,8 @@ set_prompt
# TODO: make this work on both platforms # TODO: make this work on both platforms
alias ls="ls -G" alias ls="ls -G"
alias notes="vim ~/notes.md"
# default editor # default editor
export EDITOR=vim export EDITOR=vim
@ -72,5 +74,8 @@ source $HOME/.install/google-cloud-sdk/path.bash.inc
alias iex="iex --erl \"-kernel shell_history enabled\"" alias iex="iex --erl \"-kernel shell_history enabled\""
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion [ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion

View file

@ -34,7 +34,6 @@ SetupTabbing
" makes LaTeX use spell checking, word wrapping " makes LaTeX use spell checking, word wrapping
autocmd FileType tex set wrap spell autocmd FileType tex set wrap spell
autocmd FileType make set noexpandtab autocmd FileType make set noexpandtab
autocmd FileType python SetupTabbing
autocmd FileType markdown set wrap autocmd FileType markdown set wrap
let java_allow_cpp_keywords=1 let java_allow_cpp_keywords=1