Add improved python support
This commit is contained in:
+2
-2
@@ -1,7 +1,6 @@
|
|||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export PS1='[\h:\w]\$ '
|
export PS1='[\h:\w]\$ '
|
||||||
export PATH=./bin:~/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
|
export PATH=~/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$HOME/node_modules/.bin
|
||||||
export PATH=$PATH:$HOME/bin:$HOME/node_modules/.bin
|
|
||||||
|
|
||||||
alias l='ls -GhHl'
|
alias l='ls -GhHl'
|
||||||
alias la='ls -aGhHl'
|
alias la='ls -aGhHl'
|
||||||
@@ -10,5 +9,6 @@ alias clear='clear && printf "\e[3J"'
|
|||||||
[[ -e "$HOME/.profile.local" ]] && source $HOME/.profile.local
|
[[ -e "$HOME/.profile.local" ]] && source $HOME/.profile.local
|
||||||
|
|
||||||
export PYTHONSTARTUP="$(python -m jedi repl)"
|
export PYTHONSTARTUP="$(python -m jedi repl)"
|
||||||
|
export PYTHONPATH=./src
|
||||||
|
|
||||||
source ~/bin/git-completion.sh
|
source ~/bin/git-completion.sh
|
||||||
|
|||||||
+5
-3
@@ -32,9 +32,9 @@ call plug#end()
|
|||||||
" Execute Basic Setup Commands #########################################################################################
|
" Execute Basic Setup Commands #########################################################################################
|
||||||
|
|
||||||
set background=dark
|
set background=dark
|
||||||
silent! colorscheme bvemu
|
silent! colorscheme gruvbox
|
||||||
" abra alduin badwolf Benokai birds-of-paradise black-angus brogrammer bvemu cabin camo chlordane coffee
|
" abra alduin badwolf Benokai birds-of-paradise black-angus brogrammer bvemu cabin camo chlordane coffee corporation
|
||||||
" corporation dark-robin feral golden greens kellys liquidcarbon night_vision obsidian solarized zmrok
|
" dark-robin feral golden greens gruvbox kellys liquidcarbon molokai night_vision obsidian solarized zmrok
|
||||||
|
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
hi ColorColumn ctermbg=8
|
hi ColorColumn ctermbg=8
|
||||||
@@ -136,6 +136,8 @@ map <F9> :cn<CR>
|
|||||||
map <F10> :tselect<CR>
|
map <F10> :tselect<CR>
|
||||||
map <F11> :!ctags -R src test<CR>
|
map <F11> :!ctags -R src test<CR>
|
||||||
|
|
||||||
|
nmap ; :BufExplorer<CR>
|
||||||
|
|
||||||
" Local Overrides ######################################################################################################
|
" Local Overrides ######################################################################################################
|
||||||
|
|
||||||
if !empty(glob("$HOME/.vimrc.local"))
|
if !empty(glob("$HOME/.vimrc.local"))
|
||||||
|
|||||||
+11
-4
@@ -21,6 +21,13 @@ pushd $HOME >/dev/null
|
|||||||
done
|
done
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
|
||||||
|
echo "Setting up Git configuration..."
|
||||||
|
git config --global user.name "Andrew Miner"
|
||||||
|
EMAIL=$(git config --global user.email)
|
||||||
|
read -p "Git email address ($EMAIL): " RESPONSE
|
||||||
|
[[ "$RESPONSE" == "" ]] || EMAIL="$RESPONSE"
|
||||||
|
git config --global user.email $EMAIL
|
||||||
|
|
||||||
echo "Updating brew, one moment..."
|
echo "Updating brew, one moment..."
|
||||||
brew update
|
brew update
|
||||||
|
|
||||||
@@ -29,16 +36,16 @@ which -s ag || brew install ag
|
|||||||
which -s ctags || brew install ctags
|
which -s ctags || brew install ctags
|
||||||
which -s fswatch || brew install fswatch
|
which -s fswatch || brew install fswatch
|
||||||
which -s gcc || brew install gcc
|
which -s gcc || brew install gcc
|
||||||
which -s python || brew install python # must preceed macvim
|
which -s python3 || brew install python3 # must preceed macvim
|
||||||
which -s gvim || brew install macvim
|
which -s gvim || brew install macvim --with-python3
|
||||||
which -s node || brew install node
|
which -s node || brew install node
|
||||||
which -s rbenv || brew install rbenv
|
which -s rbenv || brew install rbenv
|
||||||
which -s watch || brew install watch
|
which -s watch || brew install watch
|
||||||
which -s wget || brew install wget
|
which -s wget || brew install wget
|
||||||
|
|
||||||
pushd /usr/local/bin >/dev/null
|
pushd /usr/local/bin >/dev/null
|
||||||
ln -sf pip2 pip
|
ln -sf pip3 pip
|
||||||
ln -sf python2 python
|
ln -sf python3 python
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
|
||||||
pushd /usr >/dev/null
|
pushd /usr >/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user