Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/excid3/dotfiles
My personal dotfiles for macOS: zsh, MacVim, iterm, and more.
https://github.com/excid3/dotfiles
dotfiles shell
Last synced: 21 days ago
JSON representation
My personal dotfiles for macOS: zsh, MacVim, iterm, and more.
- Host: GitHub
- URL: https://github.com/excid3/dotfiles
- Owner: excid3
- Created: 2011-06-07T19:30:05.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-01-07T14:09:23.000Z (almost 3 years ago)
- Last Synced: 2024-11-29T18:40:11.314Z (28 days ago)
- Topics: dotfiles, shell
- Language: Vim script
- Homepage: https://excid3.com
- Size: 33.2 KB
- Stars: 72
- Watchers: 6
- Forks: 28
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Dotfiles
Just [Chris Oliver's](https://twitter.com/excid3) dotfiles. You can copy these in and everything is ready for the races.
## Installation
1. Clone this repo
```
mkdir -p ~/code && cd ~/code && git clone https://github.com/excid3/dotfiles.git
```2. Install Homebrew
```
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```3. Install MacVim, rbenv, ruby-build, and more
```
brew install macvim rbenv ruby-build postgresql elasticsearch redis zsh
brew install Caskroom/cask/iterm2
brew install Caskroom/cask/google-chrome
```4. Install Oh-My-ZSH
```
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
```5. Install Janus for Vim
```
curl -L https://bit.ly/janus-bootstrap | bash
```6. Symlink configs
```
ln -s ~/code/dotfiles/zsh/themes/excid3.zsh-theme ~/.oh-my-zsh/themes/excid3.zsh-theme
ln -s ~/code/dotfiles/zsh/zshrc ~/.zshrc
ln -s ~/code/dotfiles/vim/vimrc ~/.vimrc
ln -s ~/code/dotfiles/psqlrc ~/.psqlrc
ln -s ~/code/dotfiles/gemrc ~/.gemrcvim +PluginInstall +qall
```7. Open iTerm and import color scheme from iterm folder
8. diff-so-fancy
```
brew install diff-so-fancy
git config --global color.ui truegit config --global color.diff-highlight.oldNormal "red bold"
git config --global color.diff-highlight.oldHighlight "red bold 52"
git config --global color.diff-highlight.newNormal "green bold"
git config --global color.diff-highlight.newHighlight "green bold 22"git config --global color.diff.meta "yellow"
git config --global color.diff.frag "magenta bold"
git config --global color.diff.commit "yellow bold"
git config --global color.diff.old "red bold"
git config --global color.diff.new "green bold"
git config --global color.diff.whitespace "red reverse"
```# Other tips
Here are some other useful commands I like to use:
#### Pretty ```git lg```
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"
#### Import GPG Keys
Import your GPG keys using https://www.phildev.net/pgp/gpg_moving_keys.html
Then sign all commits with the key:
git config --global commit.gpgsign true