Various small changes

This commit is contained in:
Andrew Miner
2021-11-01 14:57:12 -06:00
parent 990aacb464
commit 1fdd7955ec
7 changed files with 32 additions and 7 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
:set lines=81
:set columns=156
:set guifont=Source\ Code\ Pro:h13
:set guifont=Source\ Code\ Variable\ Semibold:h13
+11
View File
@@ -16,6 +16,9 @@ alias tmux='TERM=xterm-256color /usr/local/bin/tmux'
# Git Config
source ~/bin/git-completion.sh
# Java Config
export PATH="/usr/local/opt/openjdk@11/bin:$PATH"
# Go Config
export GOPATH=/src/go
export GOBIN=/src/go/bin
@@ -23,8 +26,16 @@ export PATH=$PATH:$GOBIN
# NodeJS Config
export PATH=$PATH:$HOME/node_modules/.bin
export NVM_DIR="$HOME/.nvm"
mkdir -p $NVM_DIR &>/dev/null
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm"
# Python Config
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
export PYTHONSTARTUP="$(python -m jedi repl)"
# Ruby Config
+4 -1
View File
@@ -64,14 +64,17 @@ set colorcolumn=120
set cursorline
set diffopt=filler,vertical
set expandtab
set nohlsearch
set incsearch
set laststatus=2
set list
set listchars=tab:>-
set modelines=2
set nobackup
set nofoldenable
set nohlsearch
set noswapfile
set nowrap
set nowritebackup
set number
set path=**
set ruler
Executable
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
/Applications/Quake\ III\ Arena/Quake.sh
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
brew services stop postgresql
rm /usr/local/var/postgres/postmaster.pid
brew services start postgresql
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
if tmux list-sessions
+5 -5
View File
@@ -43,17 +43,17 @@ which -s gcc || brew install gcc
which -s go || brew install go
which -s heroku || (brew tap heroku/brew && brew install heroku)
which -s node || brew install node
which -s python3 || brew install python3
which -s pyenv || brew install pyenv
which -s rbenv || brew install rbenv
which -s tmux || brew install tmux
which -s watch || brew install watch
which -s wget || brew install wget
which -s reattach-to-user-namespace || brew install reattach-to-user-namespace
pushd /usr/local/bin >/dev/null
ln -sf pip3 pip
ln -sf python3 python
popd >/dev/null
pyenv install python3.7.7
pyenv shell python3.7.7
pip install --upgrade pip
pip install jedi
echo "Installing standard NPM packages..."
which -s browserify || npm install -g browserify