Various small changes
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
:set lines=81
|
:set lines=81
|
||||||
:set columns=156
|
:set columns=156
|
||||||
:set guifont=Source\ Code\ Pro:h13
|
:set guifont=Source\ Code\ Variable\ Semibold:h13
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ alias tmux='TERM=xterm-256color /usr/local/bin/tmux'
|
|||||||
# Git Config
|
# Git Config
|
||||||
source ~/bin/git-completion.sh
|
source ~/bin/git-completion.sh
|
||||||
|
|
||||||
|
# Java Config
|
||||||
|
export PATH="/usr/local/opt/openjdk@11/bin:$PATH"
|
||||||
|
|
||||||
# Go Config
|
# Go Config
|
||||||
export GOPATH=/src/go
|
export GOPATH=/src/go
|
||||||
export GOBIN=/src/go/bin
|
export GOBIN=/src/go/bin
|
||||||
@@ -23,8 +26,16 @@ export PATH=$PATH:$GOBIN
|
|||||||
|
|
||||||
# NodeJS Config
|
# NodeJS Config
|
||||||
export PATH=$PATH:$HOME/node_modules/.bin
|
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
|
# 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)"
|
export PYTHONSTARTUP="$(python -m jedi repl)"
|
||||||
|
|
||||||
# Ruby Config
|
# Ruby Config
|
||||||
|
|||||||
+4
-1
@@ -64,14 +64,17 @@ set colorcolumn=120
|
|||||||
set cursorline
|
set cursorline
|
||||||
set diffopt=filler,vertical
|
set diffopt=filler,vertical
|
||||||
set expandtab
|
set expandtab
|
||||||
set nohlsearch
|
|
||||||
set incsearch
|
set incsearch
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
set list
|
set list
|
||||||
set listchars=tab:>-
|
set listchars=tab:>-
|
||||||
set modelines=2
|
set modelines=2
|
||||||
|
set nobackup
|
||||||
set nofoldenable
|
set nofoldenable
|
||||||
|
set nohlsearch
|
||||||
|
set noswapfile
|
||||||
set nowrap
|
set nowrap
|
||||||
|
set nowritebackup
|
||||||
set number
|
set number
|
||||||
set path=**
|
set path=**
|
||||||
set ruler
|
set ruler
|
||||||
|
|||||||
Executable
+3
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
/Applications/Quake\ III\ Arena/Quake.sh
|
||||||
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
brew services stop postgresql
|
||||||
|
rm /usr/local/var/postgres/postmaster.pid
|
||||||
|
brew services start postgresql
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if tmux list-sessions
|
||||||
+5
-5
@@ -43,17 +43,17 @@ which -s gcc || brew install gcc
|
|||||||
which -s go || brew install go
|
which -s go || brew install go
|
||||||
which -s heroku || (brew tap heroku/brew && brew install heroku)
|
which -s heroku || (brew tap heroku/brew && brew install heroku)
|
||||||
which -s node || brew install node
|
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 rbenv || brew install rbenv
|
||||||
which -s tmux || brew install tmux
|
which -s tmux || brew install tmux
|
||||||
which -s watch || brew install watch
|
which -s watch || brew install watch
|
||||||
which -s wget || brew install wget
|
which -s wget || brew install wget
|
||||||
which -s reattach-to-user-namespace || brew install reattach-to-user-namespace
|
which -s reattach-to-user-namespace || brew install reattach-to-user-namespace
|
||||||
|
|
||||||
pushd /usr/local/bin >/dev/null
|
pyenv install python3.7.7
|
||||||
ln -sf pip3 pip
|
pyenv shell python3.7.7
|
||||||
ln -sf python3 python
|
pip install --upgrade pip
|
||||||
popd >/dev/null
|
pip install jedi
|
||||||
|
|
||||||
echo "Installing standard NPM packages..."
|
echo "Installing standard NPM packages..."
|
||||||
which -s browserify || npm install -g browserify
|
which -s browserify || npm install -g browserify
|
||||||
|
|||||||
Reference in New Issue
Block a user