This is my collection of dotfiles and configurations.
Note: I AM NOT RESPONSIBLE IF:
- Your computer runs away from home.
- Your dog wakes up at 2:00am howling at your CPU.
- Your laptop becomes sentient and enslaves the human race.
- These scripts don't quite work right.
Since there is no easy way to set a default editor on MacOS for every type of textfile at once, I found a utility called duti to change them for you. The problem is that duti only sets one filetype at a time, and you need to remember the package name of the editor to use. So change-mac-editor.sh takes care of that by setting a bunch of filetypes to whichever editor you choose from the options.
NOTE This is probably the only script that I will accept pull requests on. Feel free to add more filetypes, editors, or options.
Install zsh if you have not done so. (brew install zsh on Mac, sudo apt-get install zsh on Ubuntu, pacman -Syu zsh on Arch)
Run install-all.sh and pray.
NOTE For the time being, oh-my-zsh will start a zsh session in the middle of the install script. Type exit to finish linking everything, and then start a new session to see everything linked and ready to go.
Run install-pacaur.sh on Arch systems to get pacaur up and running.
Run install-plug.sh to install Plug for vim. Inside of vim, run PlugInstall to install the plugins.
Run install-plug-nvim.sh to install Plug for nvim. Inside of nvim, run PlugInstall to install the plugins.
Run link-dotfiles.sh. This script will check for the default dotfiles and back them up if they exist. If you run the script after already having some of the files symlinked (e.g. to link a dotfile that has been added recently) it will not do anything to the symlink or backup that already exist.
Run brew-install.sh. If you are curious what binaries will be installed, check out the array in that file.
- Run
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"to install oh-my-zsh - Clone this theme somewhere:
Clone this theme: [email protected]:jwkicklighter/oh-my-zsh-powerline-theme.git - Copy powerline.zsh-theme into
.oh-my-zsh/themes/(install_in_omz.sh should do this) - Install
[email protected]:yonchu/grunt-zsh-completion.gitand copy to.oh-my-zsh/custom/plugins/ - Install
git://github.com/zsh-users/zsh-syntax-highlighting.gitand copy to.oh-my-zsh/custom/plugins/ - (optional) Install and set terminal to 1 of these fonts:
[email protected]:powerline/fonts.git(I use "12pt Hack" for Refular & "12pt Sauce Code Powerline" for Non-ASCII in iTerm 2)
There is a modified version of the osx-for-hackers.sh script in osx/ (original: https://gist.github.com/brandonb927/3195465)
My .vimrc assumes that you have Plug installed. If you followed all the instructions, you will have it installed for Vim or Neovim. The .ideavimrc is for the JetBrains IdeaVim plugin, and is read by any of their editors that have the plugin installed.
