-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joshua Stone
committed
Jan 12, 2023
0 parents
commit 5f7dc00
Showing
5 changed files
with
434 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
export GOPATH=/Users/joshstone/go | ||
export PATH=$PATH:$GOPATH/bin | ||
export STORM_HOME=~/.storm | ||
export PATH=$PATH:$STORM_HOME/bin | ||
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home | ||
# The next line updates PATH for the Google Cloud SDK. | ||
if [ -f '/Users/josh/Downloads/google-cloud-sdk/path.bash.inc' ]; then source '/Users/josh/Downloads/google-cloud-sdk/path.bash.inc'; fi | ||
|
||
# The next line enables shell command completion for gcloud. | ||
if [ -f '/Users/josh/Downloads/google-cloud-sdk/completion.bash.inc' ]; then source '/Users/josh/Downloads/google-cloud-sdk/completion.bash.inc'; fi | ||
|
||
# append to the history file, don't overwrite it | ||
shopt -s histappend | ||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) | ||
export HISTCONTROL=ignoredups:erasedups # no duplicate entries | ||
export HISTSIZE=100000 | ||
export HISTFILESIZE=200000 | ||
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND" | ||
export HISTIGNORE="history*" | ||
|
||
#search history easily | ||
alias h="tac ~/.bash_history | grep -m10" | ||
|
||
[[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh | ||
|
||
source ~/.bashrc | ||
export SLUGIFY_USES_TEXT_UNIDECODE=yes | ||
|
||
export PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.2.1/lib/pkgconfig | ||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/openssl/lib/pkgconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
# don't put duplicate lines or lines starting with space in the history. | ||
# See bash(1) for more options | ||
HISTCONTROL=ignoreboth | ||
|
||
# append to the history file, don't overwrite it | ||
shopt -s histappend | ||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) | ||
export HISTCONTROL=ignoredups:erasedups # no duplicate entries | ||
export HISTSIZE=100000 | ||
export HISTFILESIZE=200000 | ||
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND" | ||
export HISTIGNORE="history*" | ||
|
||
#search history easily | ||
alias h="tac ~/.bash_history | grep -m10" | ||
|
||
[[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh | ||
|
||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash | ||
|
||
export NVM_DIR="$HOME/.nvm" | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | ||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | ||
alias tmux="tmux -2" | ||
|
||
source /Users/josh/Library/Preferences/org.dystroy.broot/launcher/bash/br | ||
|
||
eval "$(thefuck --alias)" | ||
|
||
alias wb="gradle build" | ||
alias wf="gradle goJF" | ||
alias wn="gradle clean" | ||
alias ws="gradle spotlessApply" | ||
alias wu="gradle composeUp" | ||
alias wd="gradle composeDown" | ||
alias wl="gradle --write-locks" | ||
|
||
export PATH=$HOME/bin:/usr/local/bin:/opt/homebrew/bin:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
set nocompatible " be iMproved, required | ||
filetype off " required | ||
|
||
" set the runtime path to include Vundle and initialize | ||
set rtp+=~/.vim/bundle/Vundle.vim | ||
call vundle#begin() | ||
|
||
" let Vundle manage Vundle, required | ||
Plugin 'VundleVim/Vundle.vim' | ||
Plugin 'octol/vim-cpp-enhanced-highlight' | ||
Plugin 'tomasiser/vim-code-dark' | ||
Plugin 'scrooloose/nerdtree' | ||
Plugin 'scrooloose/syntastic' | ||
Plugin 'altercation/vim-colors-solarized' | ||
Plugin 'scrooloose/nerdcommenter' | ||
Plugin 'nanotech/jellybeans.vim' | ||
Plugin 'ConradIrwin/vim-bracketed-paste' | ||
Plugin 'fatih/vim-go' | ||
Plugin 'tpope/vim-abolish' | ||
call vundle#end() | ||
|
||
|
||
""spacing/indenting | ||
set backspace=2 "This makes the backspace key function like it does in other programs. | ||
set tabstop=2 "How much space Vim gives to a tab | ||
set shiftwidth=2 | ||
set softtabstop=2 | ||
set expandtab | ||
set smartindent | ||
set autoindent | ||
set backspace=indent,eol,start | ||
filetype indent on | ||
filetype plugin indent on | ||
|
||
|
||
"" visuals | ||
set number | ||
set showmatch | ||
set background=dark | ||
colorscheme jellybeans | ||
syntax on | ||
set mouse=a | ||
set clipboard=unnamed | ||
set ruler | ||
set cursorline | ||
set scrolloff=25 | ||
|
||
filetype on | ||
set encoding=utf-8 | ||
set ttyfast | ||
|
||
"" Disable the blinking cursor. | ||
set gcr=a:blinkon0 | ||
set scrolloff=3 | ||
|
||
"" Status bar | ||
set laststatus=2 | ||
|
||
"" Use modeline overrides | ||
set modeline | ||
set modelines=10 | ||
|
||
set title | ||
set titleold="Terminal" | ||
set titlestring=%F | ||
|
||
set statusline=%F%m%r%h%w%=(%{&ff}/%Y)\ (line\ %l\/%L,\ col\ %c)\ | ||
|
||
"" Directories for swp files | ||
set nobackup | ||
set noswapfile | ||
|
||
"" enable hidden buffers | ||
set hidden | ||
|
||
"" search | ||
set incsearch | ||
set hlsearch | ||
set ignorecase | ||
set smartcase | ||
|
||
" Use Unix as the standard file type | ||
set ffs=unix,dos,mac | ||
|
||
"" plugin settings | ||
set splitright | ||
|
||
"" custom mappings | ||
let mapleader = '\' | ||
inoremap jj <ESC> | ||
nnoremap , i_<ESC>r | ||
let g:cpp_class_scope_highlight = 1 | ||
let g:cpp_member_variable_highlight = 1 | ||
map <S-Right> :tabn<CR> | ||
map <S-Left> :tabp<CR> | ||
"" open NERDTree when no value specified | ||
autocmd StdinReadPre * let s:std_in=1 | ||
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif | ||
map <C-n> :NERDTreeToggle<CR> | ||
map <C-j> <C-W>j | ||
map <C-k> <C-W>k | ||
map <C-h> <C-W>h | ||
map <C-l> <C-W>l | ||
"au BufNewFile,BufRead *.cpp set syntax=cpp11 | ||
"au BufNewFile,BufRead *.cc set syntax=cpp11 | ||
"au BufNewFile,BufRead *.h set syntax=cpp11 | ||
" Copy whole file | ||
noremap <C-y> myggvG$"*y`y | ||
inoremap <C-y> <Esc>myggvG$"*y`ya | ||
" Copy paste from clipboard | ||
" set clipboard=unnamed | ||
vnoremap <C-c> "*y | ||
map <C-q> <Leader>crt | ||
let &t_SI = "\<Esc>]50;CursorShape=1\x7" | ||
let &t_SR = "\<Esc>]50;CursorShape=2\x7" | ||
let &t_EI = "\<Esc>]50;CursorShape=0\x7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
set nocompatible " be iMproved, required | ||
filetype off " required | ||
|
||
" set the runtime path to include Vundle and initialize | ||
set rtp+=~/.vim/bundle/Vundle.vim | ||
call vundle#begin() | ||
|
||
" let Vundle manage Vundle, required | ||
Plugin 'VundleVim/Vundle.vim' | ||
Plugin 'octol/vim-cpp-enhanced-highlight' | ||
Plugin 'tomasiser/vim-code-dark' | ||
Plugin 'scrooloose/nerdtree' | ||
Plugin 'scrooloose/syntastic' | ||
Plugin 'altercation/vim-colors-solarized' | ||
Plugin 'scrooloose/nerdcommenter' | ||
Plugin 'nanotech/jellybeans.vim' | ||
Plugin 'ConradIrwin/vim-bracketed-paste' | ||
Plugin 'fatih/vim-go' | ||
Plugin 'tpope/vim-abolish' | ||
call vundle#end() | ||
|
||
|
||
""spacing/indenting | ||
set backspace=2 "This makes the backspace key function like it does in other programs. | ||
set tabstop=2 "How much space Vim gives to a tab | ||
set shiftwidth=2 | ||
set softtabstop=2 | ||
set expandtab | ||
set smartindent | ||
set autoindent | ||
set backspace=indent,eol,start | ||
filetype indent on | ||
filetype plugin indent on | ||
|
||
|
||
"" visuals | ||
set number | ||
set showmatch | ||
set background=dark | ||
colorscheme jellybeans | ||
syntax on | ||
set mouse=a | ||
set clipboard=unnamed | ||
set ruler | ||
set cursorline | ||
set scrolloff=25 | ||
|
||
filetype on | ||
set encoding=utf-8 | ||
set ttyfast | ||
|
||
"" Disable the blinking cursor. | ||
set gcr=a:blinkon0 | ||
set scrolloff=3 | ||
|
||
"" Status bar | ||
set laststatus=2 | ||
|
||
"" Use modeline overrides | ||
set modeline | ||
set modelines=10 | ||
|
||
set title | ||
set titleold="Terminal" | ||
set titlestring=%F | ||
|
||
set statusline=%F%m%r%h%w%=(%{&ff}/%Y)\ (line\ %l\/%L,\ col\ %c)\ | ||
|
||
"" Directories for swp files | ||
set nobackup | ||
set noswapfile | ||
|
||
"" enable hidden buffers | ||
set hidden | ||
|
||
"" search | ||
set incsearch | ||
set hlsearch | ||
set ignorecase | ||
set smartcase | ||
|
||
" Use Unix as the standard file type | ||
set ffs=unix,dos,mac | ||
|
||
"" plugin settings | ||
set splitright | ||
|
||
"" custom mappings | ||
let mapleader = '\' | ||
inoremap jj <ESC> | ||
nnoremap , i_<ESC>r | ||
let g:cpp_class_scope_highlight = 1 | ||
let g:cpp_member_variable_highlight = 1 | ||
map <S-Right> :tabn<CR> | ||
map <S-Left> :tabp<CR> | ||
"" open NERDTree when no value specified | ||
autocmd StdinReadPre * let s:std_in=1 | ||
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif | ||
map <C-n> :NERDTreeToggle<CR> | ||
map <C-j> <C-W>j | ||
map <C-k> <C-W>k | ||
map <C-h> <C-W>h | ||
map <C-l> <C-W>l | ||
"au BufNewFile,BufRead *.cpp set syntax=cpp11 | ||
"au BufNewFile,BufRead *.cc set syntax=cpp11 | ||
"au BufNewFile,BufRead *.h set syntax=cpp11 | ||
" Copy whole file | ||
noremap <C-y> myggvG$"*y`y | ||
inoremap <C-y> <Esc>myggvG$"*y`ya | ||
" Copy paste from clipboard | ||
" set clipboard=unnamed | ||
vnoremap <C-c> "*y | ||
map <C-q> <Leader>crt |
Oops, something went wrong.