├── vim ├── bundle │ └── .gitkeep └── doc │ └── tags ├── agignore ├── .gitignore ├── gemrc ├── zshenv ├── gitignore ├── gvimrc ├── ackrc ├── tmux.conf ├── LICENSE ├── vimrc.bundles ├── gitconfig ├── install.sh ├── README.md ├── zshrc ├── vimrc └── install └── linux.sh /vim/bundle/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agignore: -------------------------------------------------------------------------------- 1 | log 2 | tags 3 | tmp 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | !bin 2 | vim/bundle/ 3 | -------------------------------------------------------------------------------- /gemrc: -------------------------------------------------------------------------------- 1 | --- 2 | gem: --no-ri --no-rdoc 3 | # rdoc: --inline-source --line-numbers --format=html --template=hanna -------------------------------------------------------------------------------- /zshenv: -------------------------------------------------------------------------------- 1 | # fix for https://github.com/robbyrussell/oh-my-zsh/issues/1433 2 | DEBIAN_PREVENT_KEYBOARD_CHANGES=yes -------------------------------------------------------------------------------- /gitignore: -------------------------------------------------------------------------------- 1 | *.DS_Store 2 | *.sw[nop] 3 | .bundle 4 | .sass-cache/ 5 | db/*.sqlite3 6 | log/*.log 7 | rerun.txt 8 | tags 9 | tmp/**/* 10 | !tmp/cache/.keep 11 | vendor/bundler_gems 12 | vim/.netrwhist 13 | zeus.json 14 | -------------------------------------------------------------------------------- /gvimrc: -------------------------------------------------------------------------------- 1 | " No audible bell 2 | set vb 3 | 4 | " No toolbar 5 | set guioptions-=T 6 | 7 | " Use console dialogs 8 | set guioptions+=c 9 | 10 | " Local config 11 | if filereadable($HOME . "/.gvimrc.local") 12 | source ~/.gvimrc.local 13 | endif 14 | 15 | -------------------------------------------------------------------------------- /ackrc: -------------------------------------------------------------------------------- 1 | --type-add 2 | ruby=.haml,.builder,.rake 3 | --type-add 4 | css=.sass,.scss 5 | --type-add 6 | js=.coffee 7 | --type-set 8 | markdown=.markdown,.md,.mdown 9 | --type-set 10 | actionscript=.as 11 | --type-set 12 | cucumber=.feature 13 | --type-set 14 | rdoc=.rdoc 15 | --ruby 16 | --css 17 | --js 18 | --markdown 19 | --actionscript 20 | --objc 21 | --ignore-dir=.idea 22 | -------------------------------------------------------------------------------- /tmux.conf: -------------------------------------------------------------------------------- 1 | # improve colors 2 | # set -g default-terminal 'screen-256color' 3 | 4 | # enable copy-paste http://goo.gl/DN82E 5 | # enable RubyMotion http://goo.gl/WDlCy 6 | # set -g default-command 'reattach-to-user-namespace -l zsh' 7 | 8 | # act like vim 9 | # setw -g mode-keys vi 10 | # bind h select-pane -L 11 | # bind j select-pane -D 12 | # bind k select-pane -U 13 | # bind l select-pane -R 14 | # bind-key -r C-h select-window -t :- 15 | # bind-key -r C-l select-window -t :+ 16 | 17 | # act like GNU screen 18 | unbind C-b 19 | set -g prefix C-a 20 | 21 | # start window numbers at 1 to match keyboard order with tmux window order 22 | set -g base-index 1 23 | 24 | # renumber windows sequentially after closing any of them 25 | set -g renumber-windows on 26 | 27 | # soften status bar color from harsh green to light gray 28 | set -g status-bg '#666666' 29 | set -g status-fg '#aaaaaa' 30 | 31 | # remove administrative debris (session name, hostname, time) in status bar 32 | # set -g status-left '' 33 | # set -g status-right '' 34 | 35 | # increase scrollback lines 36 | set -g history-limit 10000 37 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | LICENSE 2 | 3 | The MIT License 4 | 5 | Copyright (c) 2009-2013 thoughtbot, inc. 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /vimrc.bundles: -------------------------------------------------------------------------------- 1 | set nocompatible 2 | 3 | filetype off 4 | set rtp+=~/.vim/bundle/vundle/ 5 | call vundle#rc() 6 | 7 | " Let Vundle manage Vundle 8 | Bundle 'gmarik/vundle' 9 | 10 | " Define bundles via Github repos 11 | Bundle 'croaky/vim-colors-github' 12 | Bundle 'kien/ctrlp.vim' 13 | Bundle 'tpope/vim-fugitive' 14 | " Bundle 'scrooloose/nerdtree' 15 | 16 | Bundle 'vim-scripts/ctags.vim' 17 | " Bundle 'mileszs/ack.vim' 18 | 19 | Bundle 'danro/rename.vim' 20 | Bundle 'tsaleh/vim-matchit' 21 | Bundle 'vim-scripts/greplace.vim' 22 | Bundle 'vim-scripts/tComment' 23 | " Bundle 'ddollar/nerdcommenter' 24 | Bundle 'tpope/vim-surround' 25 | Bundle 'tpope/vim-endwise' 26 | 27 | " Gutter plugins 28 | " Bundle 'jisaacks/GitGutter' 29 | " Bundle 'scrooloose/syntastic' 30 | 31 | " Syntax highlighting bundles 32 | Bundle 'kchmck/vim-coffee-script' 33 | Bundle 'nanki/treetop.vim' 34 | Bundle 'timcharper/textile.vim' 35 | Bundle 'tpope/vim-cucumber' 36 | Bundle 'tpope/vim-haml' 37 | Bundle 'tpope/vim-markdown' 38 | Bundle 'xenoterracide/html.vim' 39 | 40 | " Ruby/Rails specific bundles 41 | Bundle 'tpope/vim-rails' 42 | Bundle 'thoughtbot/vim-rspec' 43 | Bundle 'tpope/vim-bundler' 44 | 45 | filetype on 46 | -------------------------------------------------------------------------------- /gitconfig: -------------------------------------------------------------------------------- 1 | [color] 2 | ui = auto 3 | interactive = auto 4 | [color "branch"] 5 | current = yellow reverse 6 | local = yellow 7 | remote = green 8 | [color "diff"] 9 | meta = yellow bold 10 | frag = magenta bold 11 | old = red bold 12 | new = green bold 13 | whitespace = red reverse 14 | [color "status"] 15 | added = yellow 16 | changed = green 17 | untracked = cyan 18 | [core] 19 | whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol 20 | pager = less -r 21 | [advice] 22 | pushNonFastForward = false 23 | statusHints = false 24 | commitBeforeMerge = false 25 | resolveConflict = false 26 | implicitIdentity = false 27 | detachedHead = false 28 | [alias] 29 | s = status 30 | a = !git add . && git status 31 | r = reset 32 | c = commit 33 | ca = commit --amend 34 | p = push 35 | l = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset' 36 | ll = log --stat --abbrev-commit 37 | d = diff --color-words 38 | ds = diff --color-words --staged 39 | alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort 40 | # Show files ignored by git: 41 | ign = ls-files -o -i --exclude-standard 42 | -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cutstring="DO NOT EDIT BELOW THIS LINE" 4 | 5 | for name in *; do 6 | target="$HOME/.$name" 7 | if [ -e "$target" ]; then 8 | if [ ! -L "$target" ]; then 9 | cutline=`grep -n -m1 "$cutstring" "$target" | sed "s/:.*//"` 10 | if [ -n "$cutline" ]; then 11 | cutline=$((cutline)) 12 | echo "Updating $target" 13 | head -n $cutline "$target" > update_tmp 14 | startline=`sed '1!G;h;$!d' "$name" | grep -n -m1 "$cutstring" | sed "s/:.*//"` 15 | if [ -n "$startline" ]; then 16 | tail -n $startline "$name" >> update_tmp 17 | else 18 | cat "$name" >> update_tmp 19 | fi 20 | mv update_tmp "$target" 21 | else 22 | echo "WARNING: $target exists but is not a symlink." 23 | fi 24 | fi 25 | else 26 | if [ "$name" != 'install.sh' ] && [ "$name" != 'README.md' ] && [ "$name" != 'LICENSE' ] && [ "$name" != 'install' ]; then 27 | echo "Creating $target" 28 | if [ -n "$(grep "$cutstring" "$name")" ]; then 29 | cp "$PWD/$name" "$target" 30 | else 31 | ln -s "$PWD/$name" "$target" 32 | fi 33 | fi 34 | fi 35 | done 36 | 37 | # git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle 38 | # vim -u ~/.vimrc.bundles +BundleInstall +qa 39 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # dotfiles 2 | 3 | Based on http://github.com/thoughtbot/dotfiles 4 | 5 | ## Install 6 | 7 | Clone onto your laptop: 8 | 9 | git clone git://github.com/stereobooster/dotfiles.git 10 | 11 | Install: 12 | 13 | cd dotfiles 14 | ./install.sh 15 | 16 | This will create symlinks for config files in your home directory. If you 17 | include the line "DO NOT EDIT BELOW THIS LINE" anywhere in a config file, it 18 | will copy that file over instead of symlinking it, and it will leave 19 | everything above that line in your local config intact. 20 | 21 | You can safely run `./install.sh` multiple times to update. 22 | 23 | ## Make your own customizations 24 | 25 | Put your customizations at the top of files, separated by "DO NOT EDIT BELOW 26 | THIS LINE." 27 | 28 | For example, the top of your `~/.gitconfig` might look like this: 29 | 30 | [user] 31 | name = Joe Ferris 32 | email = jferris@thoughtbot.com 33 | 34 | # DO NOT EDIT BELOW THIS LINE 35 | 36 | [push] 37 | default = current 38 | 39 | ## TODO 40 | 41 | - installation script one liner with `curl` or `wget`, like in Oh My Zsh 42 | - add [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh) or [Antigen](https://github.com/zsh-users/antigen) 43 | - add Puppet for packege installation 44 | 45 | ## Inspiration 46 | 47 | see [wiki](https://github.com/stereobooster/dotfiles/wiki/_pages) 48 | -------------------------------------------------------------------------------- /zshrc: -------------------------------------------------------------------------------- 1 | # Path to your oh-my-zsh configuration. 2 | ZSH=$HOME/.oh-my-zsh 3 | 4 | # Set name of the theme to load. 5 | # Look in ~/.oh-my-zsh/themes/ 6 | # Optionally, if you set this to "random", it'll load a random theme each 7 | # time that oh-my-zsh is loaded. 8 | ZSH_THEME="robbyrussell" 9 | 10 | # Example aliases 11 | # alias zshconfig="mate ~/.zshrc" 12 | # alias ohmyzsh="mate ~/.oh-my-zsh" 13 | 14 | # Set to this to use case-sensitive completion 15 | # CASE_SENSITIVE="true" 16 | 17 | # Comment this out to disable bi-weekly auto-update checks 18 | # DISABLE_AUTO_UPDATE="true" 19 | 20 | # Uncomment to change how often before auto-updates occur? (in days) 21 | # export UPDATE_ZSH_DAYS=13 22 | 23 | # Uncomment following line if you want to disable colors in ls 24 | # DISABLE_LS_COLORS="true" 25 | 26 | # Uncomment following line if you want to disable autosetting terminal title. 27 | # DISABLE_AUTO_TITLE="true" 28 | 29 | # Uncomment following line if you want to disable command autocorrection 30 | # DISABLE_CORRECTION="true" 31 | 32 | # Uncomment following line if you want red dots to be displayed while waiting for completion 33 | # COMPLETION_WAITING_DOTS="true" 34 | 35 | # Uncomment following line if you want to disable marking untracked files under 36 | # VCS as dirty. This makes repository status check for large repositories much, 37 | # much faster. 38 | # DISABLE_UNTRACKED_FILES_DIRTY="true" 39 | 40 | # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) 41 | # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ 42 | # Example format: plugins=(rails git textmate ruby lighthouse) 43 | plugins=(git sublime rake gem bundler npm osx) 44 | # per-directory-history github history autojump 45 | 46 | source $ZSH/oh-my-zsh.sh 47 | 48 | export LC_ALL=en_US.UTF-8 49 | export LANG=en_US.UTF-8 50 | 51 | # Customize to your needs... 52 | export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games 53 | #:/opt/flex/bin 54 | 55 | [ -f /opt/boxen/env.sh ] && source /opt/boxen/env.sh 56 | 57 | eval "$(nodenv init -)" 58 | 59 | ### Added by the Heroku Toolbelt 60 | export PATH="/usr/local/heroku/bin:$PATH" 61 | -------------------------------------------------------------------------------- /vimrc: -------------------------------------------------------------------------------- 1 | " Leader 2 | let mapleader = " " 3 | 4 | set nocompatible " Use Vim settings, rather then Vi settings 5 | set nobackup 6 | set nowritebackup 7 | set noswapfile " http://robots.thoughtbot.com/post/18739402579/global-gitignore#comment-458413287 8 | set history=50 9 | set ruler " show the cursor position all the time 10 | set showcmd " display incomplete commands 11 | set incsearch " do incremental searching 12 | set laststatus=2 " Always display the status line 13 | 14 | " Switch syntax highlighting on, when the terminal has colors 15 | " Also switch on highlighting the last used search pattern. 16 | if (&t_Co > 2 || has("gui_running")) && !exists("syntax_on") 17 | syntax on 18 | endif 19 | 20 | if filereadable(expand("~/.vimrc.bundles")) 21 | source ~/.vimrc.bundles 22 | endif 23 | 24 | filetype plugin indent on 25 | 26 | augroup vimrcEx 27 | au! 28 | 29 | " For all text files set 'textwidth' to 78 characters. 30 | autocmd FileType text setlocal textwidth=78 31 | 32 | " When editing a file, always jump to the last known cursor position. 33 | " Don't do it when the position is invalid or when inside an event handler 34 | " (happens when dropping a file on gvim). 35 | autocmd BufReadPost * 36 | \ if line("'\"") > 0 && line("'\"") <= line("$") | 37 | \ exe "normal g`\"" | 38 | \ endif 39 | augroup END 40 | 41 | " Softtabs, 2 spaces 42 | set tabstop=2 43 | set shiftwidth=2 44 | set expandtab 45 | 46 | " Display extra whitespace 47 | set list listchars=tab:»·,trail:· 48 | 49 | " Use Ag (https://github.com/ggreer/the_silver_searcher) instead of Grep when 50 | " available 51 | if executable("ag") 52 | set grepprg=ag\ --nogroup\ --nocolor 53 | endif 54 | 55 | " Color scheme 56 | colorscheme github 57 | highlight NonText guibg=#060606 58 | highlight Folded guibg=#0A0A0A guifg=#9090D0 59 | 60 | " Numbers 61 | set number 62 | set numberwidth=5 63 | 64 | " Snippets are activated by Shift+Tab 65 | let g:snippetsEmu_key = "" 66 | 67 | " Tab completion 68 | " will insert tab at beginning of line, 69 | " will use completion if not at beginning 70 | set wildmode=list:longest,list:full 71 | set complete=.,w,t 72 | function! InsertTabWrapper() 73 | let col = col('.') - 1 74 | if !col || getline('.')[col - 1] !~ '\k' 75 | return "\" 76 | else 77 | return "\" 78 | endif 79 | endfunction 80 | inoremap =InsertTabWrapper() 81 | 82 | " Exclude Javascript files in :Rtags via rails.vim due to warnings when parsing 83 | let g:Tlist_Ctags_Cmd="ctags --exclude='*.js'" 84 | 85 | " Index ctags from any project, including those outside Rails 86 | map ct :!ctags -R . 87 | 88 | " Cucumber navigation commands 89 | autocmd User Rails Rnavcommand step features/step_definitions -glob=**/* -suffix=_steps.rb 90 | autocmd User Rails Rnavcommand config config -glob=**/* -suffix=.rb -default=routes 91 | 92 | " Switch between the last two files 93 | nnoremap 94 | 95 | " Get off my lawn 96 | nnoremap :echoe "Use h" 97 | nnoremap :echoe "Use l" 98 | nnoremap :echoe "Use k" 99 | nnoremap :echoe "Use j" 100 | 101 | " vim-rspec mappings 102 | nnoremap t :call RunCurrentSpecFile() 103 | nnoremap s :call RunNearestSpec() 104 | nnoremap l :call RunLastSpec() 105 | 106 | " Treat
  • and

    tags like the block tags they are 107 | let g:html_indent_tags = 'li\|p' 108 | 109 | " Set syntax highlighting for specific file types 110 | au BufRead,BufNewFile *.md set filetype=markdown 111 | 112 | " Enable spellchecking for Markdown 113 | au BufRead,BufNewFile *.md setlocal spell 114 | 115 | " Automatically wrap at 80 characters for Markdown 116 | au BufRead,BufNewFile *.md setlocal textwidth=80 117 | 118 | " Open new split panes to right and bottom, which feels more natural 119 | set splitbelow 120 | set splitright 121 | 122 | " Local config 123 | if filereadable($HOME . "/.vimrc.local") 124 | source ~/.vimrc.local 125 | endif 126 | -------------------------------------------------------------------------------- /install/linux.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # source https://github.com/alrra/dotfiles/blob/master/init/ubuntu.sh 4 | 5 | # ############################################################################## 6 | # # HELPER FUNCTIONS # 7 | # ############################################################################## 8 | 9 | add_key() { 10 | wget -qO - "$1" | sudo apt-key add - > /dev/null 11 | } 12 | 13 | add_ppa() { 14 | sudo add-apt-repository -y ppa:"$1" > /dev/null 15 | } 16 | 17 | add_source_list() { 18 | sudo sh -c "printf 'deb $1' >> '/etc/apt/sources.list.d/$2'" 19 | } 20 | 21 | cmd_exists() { 22 | [ -x "$(command -v "$1")" ] \ 23 | && printf 1 \ 24 | || printf 0 25 | } 26 | 27 | execute_str() { 28 | sudo sh -c "$1" > /dev/null 29 | print_result $? "$2" 30 | } 31 | 32 | execute() { 33 | $1 > /dev/null 34 | print_result $? "$2" 35 | } 36 | 37 | install_pkg() { 38 | local q="${2:-$1}" 39 | 40 | [ $(cmd_exists "$q") -eq 0 ] \ 41 | && execute_str "sudo apt-get install --allow-unauthenticated -qqy $1" "$1" 42 | # suppress output ─┘│ 43 | # assume "yes" as the answer to all prompts ──┘ 44 | } 45 | 46 | mkd() { 47 | if [ -n "$1" ]; then 48 | if [ -e "$1" ]; then 49 | if [ ! -d "$1" ]; then 50 | print_error "$1 [a file with the same name already exists]" 51 | fi 52 | else 53 | execute "mkdir -p $1" "$1" 54 | fi 55 | fi 56 | } 57 | 58 | print_error() { 59 | printf "\e[1;31m ✖ $1 $2\e[0m\n" 60 | } 61 | 62 | print_info() { 63 | printf "\n\e[1;33m $1\e[0m\n\n" 64 | } 65 | 66 | print_result() { 67 | [ $1 -eq 0 ] \ 68 | && print_success "$2" \ 69 | || print_error "$2" 70 | } 71 | 72 | print_success() { 73 | printf "\e[1;32m ✔ $1\e[0m\n" 74 | } 75 | 76 | remove_unneeded_pkgs() { 77 | execute_str "sudo apt-get autoremove -qqy" "autoremove" 78 | # └─ remove packages that were automatically 79 | # installed to satisfy dependencies for other 80 | # other packages and are no longer needed 81 | } 82 | 83 | update_and_upgrade() { 84 | sudo apt-get update -qqy 85 | # └─ resynchronize the package index files from their sources 86 | sudo apt-get upgrade -qqy 87 | # └─ install the newest versions of all packages installed 88 | } 89 | 90 | 91 | # ############################################################################## 92 | # # MAIN # 93 | # ############################################################################## 94 | 95 | main() { 96 | 97 | # -------------------------------------------------------------------------- 98 | # | Init | 99 | # -------------------------------------------------------------------------- 100 | 101 | declare dest="" 102 | declare i="" 103 | declare tmp="" 104 | declare src="" 105 | 106 | local -a newDirs=( 107 | "$HOME/archive" 108 | "$HOME/downloads/torrents" 109 | "$HOME/projects" 110 | "$HOME/server" 111 | ) 112 | 113 | # Ask for the administrator password upfront 114 | sudo -v 115 | 116 | # Update existing `sudo` time stamp until this script has finished 117 | # (https://gist.github.com/3118588) 118 | while true; do 119 | sudo -n true 120 | sleep 60 121 | kill -0 "$$" || exit 122 | done 2>/dev/null & 123 | 124 | # -------------------------------------------------------------------------- 125 | # | Directory Setup | 126 | # -------------------------------------------------------------------------- 127 | 128 | print_info "Directory setup" 129 | 130 | # Rename the home directories to lowercase (just a personal preference) 131 | while read i; do 132 | 133 | src="$HOME/$i" 134 | dest="$HOME/$(printf "$i" | tr "[:upper:]" "[:lower:]")" 135 | 136 | if [ "$src" != "$dest" ]; then 137 | execute_str "mv \"$src\" \"$dest\"" "$src → $dest" 138 | fi 139 | 140 | done < <(ls -l $HOME | grep '^d' | cut -d":" -f2 | cut -d' ' -f2-) 141 | 142 | tmp="$(cat "$HOME/.config/user-dirs.dirs")" 143 | printf "$tmp" | sed -e 's/\/\(.*\)/\/\L\1/g' >"$HOME/.config/user-dirs.dirs" 144 | 145 | # Create additional directories 146 | for i in ${newDirs[@]}; do 147 | mkd "$i" 148 | done 149 | 150 | # -------------------------------------------------------------------------- 151 | # | Installation | 152 | # -------------------------------------------------------------------------- 153 | 154 | print_info "Installation (this may take a while)" 155 | 156 | # Add software sources 157 | 158 | # Google Chrome 159 | [ $(cmd_exists "google-chrome") -eq 0 ] \ 160 | && add_key "https://dl-ssl.google.com/linux/linux_signing_key.pub" \ 161 | && add_source_list \ 162 | "http://dl.google.com/linux/deb/ stable main" \ 163 | "google-chrome.list" 164 | 165 | # NodeJS 166 | [ $(cmd_exists "node") -eq 0 ] \ 167 | && add_ppa "chris-lea/node.js" 168 | 169 | # SublimeText 2 170 | [ $(cmd_exists "sublime-text") -eq 0 ] \ 171 | && add_ppa "webupd8team/sublime-text-2" 172 | 173 | execute "update_and_upgrade" "update & upgrade" 174 | 175 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 176 | 177 | # Tools for installing VirtualBox Guest Additions 178 | install_pkg "dkms" 179 | 180 | # Tools for compiling / building software from source 181 | install_pkg "build-essential" 182 | 183 | # GnuPG archive keys of the Debian archive 184 | # install_pkg "debian-archive-keyring" 185 | 186 | # Software which is not included by default 187 | # in Ubuntu due to legal or copyright reasons 188 | #install_pkg "ubuntu-restricted-extras" 189 | 190 | install_pkg "curl" 191 | install_pkg "git" 192 | install_pkg "zsh" 193 | install_pkg "tmux" 194 | install_pkg "openssh-server" 195 | 196 | install_pkg "i3" 197 | install_pkg "google-chrome" 198 | 199 | install_pkg "ack-grep" 200 | install_pkg "ctags" 201 | install_pkg "sublime-text" 202 | install_pkg "vi" 203 | 204 | # install_pkg "nodejs" "node" 205 | 206 | # -------------------------------------------------------------------------- 207 | # | Settings | 208 | # -------------------------------------------------------------------------- 209 | 210 | # print_info "Settings" 211 | # Get all settings: `gsettings list-recursively` 212 | 213 | # -------------------------------------------------------------------------- 214 | # | Clean Up & Restart | 215 | # -------------------------------------------------------------------------- 216 | 217 | print_info "Clean up" 218 | 219 | execute "update_and_upgrade" "update & upgrade" 220 | execute "remove_unneeded_pkgs" "autoremove" 221 | 222 | print_info "All done. Restarting ..." 223 | sleep 10 224 | sudo shutdown -r now 225 | 226 | } 227 | 228 | main 229 | -------------------------------------------------------------------------------- /vim/doc/tags: -------------------------------------------------------------------------------- 1 | :MatchDebug matchit.txt /*:MatchDebug* 2 | :Snippet snippets_emu.txt /*:Snippet* 3 | :TComment tComment.txt /*:TComment* 4 | :TCommentAs tComment.txt /*:TCommentAs* 5 | :TCommentBlock tComment.txt /*:TCommentBlock* 6 | :TCommentInline tComment.txt /*:TCommentInline* 7 | :TCommentRight tComment.txt /*:TCommentRight* 8 | CreateBundleSnippet snippets_emu.txt /*CreateBundleSnippet* 9 | CreateSnippet snippets_emu.txt /*CreateSnippet* 10 | MatchError matchit.txt /*MatchError* 11 | TCommentDefineType() tComment.txt /*TCommentDefineType()* 12 | [% matchit.txt /*[%* 13 | ]% matchit.txt /*]%* 14 | b:match_col matchit.txt /*b:match_col* 15 | b:match_debug matchit.txt /*b:match_debug* 16 | b:match_ignorecase matchit.txt /*b:match_ignorecase* 17 | b:match_ini matchit.txt /*b:match_ini* 18 | b:match_iniBR matchit.txt /*b:match_iniBR* 19 | b:match_match matchit.txt /*b:match_match* 20 | b:match_pat matchit.txt /*b:match_pat* 21 | b:match_skip matchit.txt /*b:match_skip* 22 | b:match_table matchit.txt /*b:match_table* 23 | b:match_tail matchit.txt /*b:match_tail* 24 | b:match_wholeBR matchit.txt /*b:match_wholeBR* 25 | b:match_word matchit.txt /*b:match_word* 26 | b:match_words matchit.txt /*b:match_words* 27 | basic-snippet snippets_emu.txt /*basic-snippet* 28 | config/rails.vim rails.txt /*config\/rails.vim* 29 | creating-snippets snippets_emu.txt /*creating-snippets* 30 | cs surround.txt /*cs* 31 | ds surround.txt /*ds* 32 | g% matchit.txt /*g%* 33 | g:loaded_rails rails.txt /*g:loaded_rails* 34 | g:rails_abbreviations rails.txt /*g:rails_abbreviations* 35 | g:rails_dbext rails.txt /*g:rails_dbext* 36 | g:rails_default_database rails.txt /*g:rails_default_database* 37 | g:rails_default_file rails.txt /*g:rails_default_file* 38 | g:rails_expensive rails.txt /*g:rails_expensive* 39 | g:rails_gnu_screen rails.txt /*g:rails_gnu_screen* 40 | g:rails_history_size rails.txt /*g:rails_history_size* 41 | g:rails_mappings rails.txt /*g:rails_mappings* 42 | g:rails_menu rails.txt /*g:rails_menu* 43 | g:rails_modelines rails.txt /*g:rails_modelines* 44 | g:rails_statusline rails.txt /*g:rails_statusline* 45 | g:rails_syntax rails.txt /*g:rails_syntax* 46 | g:rails_tabstop rails.txt /*g:rails_tabstop* 47 | g:rails_url rails.txt /*g:rails_url* 48 | g:tcommentMapLeader1 tComment.txt /*g:tcommentMapLeader1* 49 | g:tcommentMapLeader2 tComment.txt /*g:tcommentMapLeader2* 50 | g:tcommentMapLeaderOp1 tComment.txt /*g:tcommentMapLeaderOp1* 51 | g:tcommentMapLeaderOp2 tComment.txt /*g:tcommentMapLeaderOp2* 52 | g:tcommentOpModeExtra tComment.txt /*g:tcommentOpModeExtra* 53 | greplace.txt greplace.txt /*greplace.txt* 54 | i_CTRL-G_S surround.txt /*i_CTRL-G_S* 55 | i_CTRL-G_s surround.txt /*i_CTRL-G_s* 56 | macros/rails.vim rails.txt /*macros\/rails.vim* 57 | matchit matchit.txt /*matchit* 58 | matchit-% matchit.txt /*matchit-%* 59 | matchit-\1 matchit.txt /*matchit-\\1* 60 | matchit-activate matchit.txt /*matchit-activate* 61 | matchit-backref matchit.txt /*matchit-backref* 62 | matchit-bugs matchit.txt /*matchit-bugs* 63 | matchit-choose matchit.txt /*matchit-choose* 64 | matchit-configure matchit.txt /*matchit-configure* 65 | matchit-debug matchit.txt /*matchit-debug* 66 | matchit-details matchit.txt /*matchit-details* 67 | matchit-highlight matchit.txt /*matchit-highlight* 68 | matchit-hl matchit.txt /*matchit-hl* 69 | matchit-intro matchit.txt /*matchit-intro* 70 | matchit-languages matchit.txt /*matchit-languages* 71 | matchit-modes matchit.txt /*matchit-modes* 72 | matchit-newlang matchit.txt /*matchit-newlang* 73 | matchit-o_% matchit.txt /*matchit-o_%* 74 | matchit-parse matchit.txt /*matchit-parse* 75 | matchit-s:notend matchit.txt /*matchit-s:notend* 76 | matchit-s:sol matchit.txt /*matchit-s:sol* 77 | matchit-spaces matchit.txt /*matchit-spaces* 78 | matchit-troubleshoot matchit.txt /*matchit-troubleshoot* 79 | matchit-v_% matchit.txt /*matchit-v_%* 80 | matchit.txt matchit.txt /*matchit.txt* 81 | matchit.vim matchit.txt /*matchit.vim* 82 | named-tags snippets_emu.txt /*named-tags* 83 | o_[% matchit.txt /*o_[%* 84 | o_]% matchit.txt /*o_]%* 85 | o_g% matchit.txt /*o_g%* 86 | rails rails.txt /*rails* 87 | rails-'cfu' rails.txt /*rails-'cfu'* 88 | rails-'completefunc' rails.txt /*rails-'completefunc'* 89 | rails-'efm' rails.txt /*rails-'efm'* 90 | rails-'errorformat' rails.txt /*rails-'errorformat'* 91 | rails-'et' rails.txt /*rails-'et'* 92 | rails-'expandtab' rails.txt /*rails-'expandtab'* 93 | rails-'filetype' rails.txt /*rails-'filetype'* 94 | rails-'ft' rails.txt /*rails-'ft'* 95 | rails-'includeexpr' rails.txt /*rails-'includeexpr'* 96 | rails-'inex' rails.txt /*rails-'inex'* 97 | rails-'makeprg' rails.txt /*rails-'makeprg'* 98 | rails-'mp' rails.txt /*rails-'mp'* 99 | rails-'pa' rails.txt /*rails-'pa'* 100 | rails-'path' rails.txt /*rails-'path'* 101 | rails-'shiftwidth' rails.txt /*rails-'shiftwidth'* 102 | rails-'softtabstop' rails.txt /*rails-'softtabstop'* 103 | rails-'statusline' rails.txt /*rails-'statusline'* 104 | rails-'stl' rails.txt /*rails-'stl'* 105 | rails-'sts' rails.txt /*rails-'sts'* 106 | rails-'sua' rails.txt /*rails-'sua'* 107 | rails-'suffixesadd' rails.txt /*rails-'suffixesadd'* 108 | rails-'sw' rails.txt /*rails-'sw'* 109 | rails-:A rails.txt /*rails-:A* 110 | rails-:AE rails.txt /*rails-:AE* 111 | rails-:AS rails.txt /*rails-:AS* 112 | rails-:AT rails.txt /*rails-:AT* 113 | rails-:AV rails.txt /*rails-:AV* 114 | rails-:OpenURL rails.txt /*rails-:OpenURL* 115 | rails-:R rails.txt /*rails-:R* 116 | rails-:RE rails.txt /*rails-:RE* 117 | rails-:RS rails.txt /*rails-:RS* 118 | rails-:RT rails.txt /*rails-:RT* 119 | rails-:RV rails.txt /*rails-:RV* 120 | rails-:Rabbrev rails.txt /*rails-:Rabbrev* 121 | rails-:Rabbrev! rails.txt /*rails-:Rabbrev!* 122 | rails-:Rails rails.txt /*rails-:Rails* 123 | rails-:Rake rails.txt /*rails-:Rake* 124 | rails-:Rake! rails.txt /*rails-:Rake!* 125 | rails-:Rapi rails.txt /*rails-:Rapi* 126 | rails-:Rcd rails.txt /*rails-:Rcd* 127 | rails-:Rcommand rails.txt /*rails-:Rcommand* 128 | rails-:Rconsole rails.txt /*rails-:Rconsole* 129 | rails-:Rcontroller rails.txt /*rails-:Rcontroller* 130 | rails-:Rdbext rails.txt /*rails-:Rdbext* 131 | rails-:Rdbext! rails.txt /*rails-:Rdbext!* 132 | rails-:Rdestroy rails.txt /*rails-:Rdestroy* 133 | rails-:Rdoc rails.txt /*rails-:Rdoc* 134 | rails-:Rdoc! rails.txt /*rails-:Rdoc!* 135 | rails-:Redit rails.txt /*rails-:Redit* 136 | rails-:Rextract rails.txt /*rails-:Rextract* 137 | rails-:Rfind rails.txt /*rails-:Rfind* 138 | rails-:Rfixtures rails.txt /*rails-:Rfixtures* 139 | rails-:Rfunctionaltest rails.txt /*rails-:Rfunctionaltest* 140 | rails-:Rgenerate rails.txt /*rails-:Rgenerate* 141 | rails-:Rhelper rails.txt /*rails-:Rhelper* 142 | rails-:Rintegrationtest rails.txt /*rails-:Rintegrationtest* 143 | rails-:Rinvert rails.txt /*rails-:Rinvert* 144 | rails-:Rjavascript rails.txt /*rails-:Rjavascript* 145 | rails-:Rlayout rails.txt /*rails-:Rlayout* 146 | rails-:Rlcd rails.txt /*rails-:Rlcd* 147 | rails-:Rlib rails.txt /*rails-:Rlib* 148 | rails-:Rlog rails.txt /*rails-:Rlog* 149 | rails-:Rmigration rails.txt /*rails-:Rmigration* 150 | rails-:Rmodel rails.txt /*rails-:Rmodel* 151 | rails-:Rnavcommand rails.txt /*rails-:Rnavcommand* 152 | rails-:Robserver rails.txt /*rails-:Robserver* 153 | rails-:Rp rails.txt /*rails-:Rp* 154 | rails-:Rpartial rails.txt /*rails-:Rpartial* 155 | rails-:Rplugin rails.txt /*rails-:Rplugin* 156 | rails-:Rpp rails.txt /*rails-:Rpp* 157 | rails-:Rpreview rails.txt /*rails-:Rpreview* 158 | rails-:Rpreview! rails.txt /*rails-:Rpreview!* 159 | rails-:Rproject rails.txt /*rails-:Rproject* 160 | rails-:Rproject! rails.txt /*rails-:Rproject!* 161 | rails-:Rrefresh rails.txt /*rails-:Rrefresh* 162 | rails-:Rrefresh! rails.txt /*rails-:Rrefresh!* 163 | rails-:Rrunner rails.txt /*rails-:Rrunner* 164 | rails-:Rscript rails.txt /*rails-:Rscript* 165 | rails-:Rserver rails.txt /*rails-:Rserver* 166 | rails-:Rserver! rails.txt /*rails-:Rserver!* 167 | rails-:Rset rails.txt /*rails-:Rset* 168 | rails-:Rspec rails.txt /*rails-:Rspec* 169 | rails-:Rstylesheet rails.txt /*rails-:Rstylesheet* 170 | rails-:Rtags rails.txt /*rails-:Rtags* 171 | rails-:Rtask rails.txt /*rails-:Rtask* 172 | rails-:Runittest rails.txt /*rails-:Runittest* 173 | rails-:Rview rails.txt /*rails-:Rview* 174 | rails-:Ry rails.txt /*rails-:Ry* 175 | rails-:autocmd rails.txt /*rails-:autocmd* 176 | rails-@params rails.txt /*rails-@params* 177 | rails-abbreviations rails.txt /*rails-abbreviations* 178 | rails-about rails.txt /*rails-about* 179 | rails-alternate rails.txt /*rails-alternate* 180 | rails-alternate-related rails.txt /*rails-alternate-related* 181 | rails-autocommands rails.txt /*rails-autocommands* 182 | rails-commands rails.txt /*rails-commands* 183 | rails-configuration rails.txt /*rails-configuration* 184 | rails-controller-navigation rails.txt /*rails-controller-navigation* 185 | rails-cream rails.txt /*rails-cream* 186 | rails-custom-navigation rails.txt /*rails-custom-navigation* 187 | rails-dbext rails.txt /*rails-dbext* 188 | rails-gf rails.txt /*rails-gf* 189 | rails-global-settings rails.txt /*rails-global-settings* 190 | rails-install-plugin rails.txt /*rails-install-plugin* 191 | rails-install-vim rails.txt /*rails-install-vim* 192 | rails-installation rails.txt /*rails-installation* 193 | rails-integration rails.txt /*rails-integration* 194 | rails-introduction rails.txt /*rails-introduction* 195 | rails-license rails.txt /*rails-license* 196 | rails-menu rails.txt /*rails-menu* 197 | rails-merb rails.txt /*rails-merb* 198 | rails-migrations rails.txt /*rails-migrations* 199 | rails-misc-navigation rails.txt /*rails-misc-navigation* 200 | rails-model-navigation rails.txt /*rails-model-navigation* 201 | rails-modelines rails.txt /*rails-modelines* 202 | rails-navigation rails.txt /*rails-navigation* 203 | rails-options rails.txt /*rails-options* 204 | rails-partials rails.txt /*rails-partials* 205 | rails-plugin-author rails.txt /*rails-plugin-author* 206 | rails-project rails.txt /*rails-project* 207 | rails-rails-integration rails.txt /*rails-rails-integration* 208 | rails-refactoring rails.txt /*rails-refactoring* 209 | rails-related rails.txt /*rails-related* 210 | rails-rspec rails.txt /*rails-rspec* 211 | rails-screen rails.txt /*rails-screen* 212 | rails-scripts rails.txt /*rails-scripts* 213 | rails-slow rails.txt /*rails-slow* 214 | rails-snippets rails.txt /*rails-snippets* 215 | rails-surround rails.txt /*rails-surround* 216 | rails-syntax rails.txt /*rails-syntax* 217 | rails-syntax-assertions rails.txt /*rails-syntax-assertions* 218 | rails-syntax-classes rails.txt /*rails-syntax-classes* 219 | rails-syntax-deprecated rails.txt /*rails-syntax-deprecated* 220 | rails-syntax-keywords rails.txt /*rails-syntax-keywords* 221 | rails-syntax-strings rails.txt /*rails-syntax-strings* 222 | rails-syntax-yaml rails.txt /*rails-syntax-yaml* 223 | rails-tabs rails.txt /*rails-tabs* 224 | rails-template-types rails.txt /*rails-template-types* 225 | rails-vim-integration rails.txt /*rails-vim-integration* 226 | rails.txt rails.txt /*rails.txt* 227 | snip-advanced-tag-commands snippets_emu.txt /*snip-advanced-tag-commands* 228 | snip-buffer-specific snippets_emu.txt /*snip-buffer-specific* 229 | snip-bundles snippets_emu.txt /*snip-bundles* 230 | snip-contact-details snippets_emu.txt /*snip-contact-details* 231 | snip-contributors snippets_emu.txt /*snip-contributors* 232 | snip-detailed-explanations snippets_emu.txt /*snip-detailed-explanations* 233 | snip-elem-delimiter snippets_emu.txt /*snip-elem-delimiter* 234 | snip-ftplugin snippets_emu.txt /*snip-ftplugin* 235 | snip-limitations snippets_emu.txt /*snip-limitations* 236 | snip-menu snippets_emu.txt /*snip-menu* 237 | snip-remap-key snippets_emu.txt /*snip-remap-key* 238 | snip-snippet-commands snippets_emu.txt /*snip-snippet-commands* 239 | snip-special-vars snippets_emu.txt /*snip-special-vars* 240 | snip-start-end-tags snippets_emu.txt /*snip-start-end-tags* 241 | snip-tag-name-syntax snippets_emu.txt /*snip-tag-name-syntax* 242 | snippet-commands snippets_emu.txt /*snippet-commands* 243 | snippets_emu-bugs snippets_emu.txt /*snippets_emu-bugs* 244 | snippets_emu-features snippets_emu.txt /*snippets_emu-features* 245 | snippets_emu-options snippets_emu.txt /*snippets_emu-options* 246 | snippets_emu-troubleshooting snippets_emu.txt /*snippets_emu-troubleshooting* 247 | snippets_emu.txt snippets_emu.txt /*snippets_emu.txt* 248 | surround surround.txt /*surround* 249 | surround-author surround.txt /*surround-author* 250 | surround-customizing surround.txt /*surround-customizing* 251 | surround-issues surround.txt /*surround-issues* 252 | surround-mappings surround.txt /*surround-mappings* 253 | surround-replacements surround.txt /*surround-replacements* 254 | surround-targets surround.txt /*surround-targets* 255 | surround.txt surround.txt /*surround.txt* 256 | tComment-Installation tComment.txt /*tComment-Installation* 257 | tComment-Key-Bindings tComment.txt /*tComment-Key-Bindings* 258 | tComment-Usage tComment.txt /*tComment-Usage* 259 | tComment-commands tComment.txt /*tComment-commands* 260 | tComment.txt tComment.txt /*tComment.txt* 261 | v_[% matchit.txt /*v_[%* 262 | v_]% matchit.txt /*v_]%* 263 | v_a% matchit.txt /*v_a%* 264 | v_g% matchit.txt /*v_g%* 265 | vs surround.txt /*vs* 266 | yS surround.txt /*yS* 267 | ySS surround.txt /*ySS* 268 | ys surround.txt /*ys* 269 | yss surround.txt /*yss* 270 | --------------------------------------------------------------------------------