Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tombruijn/dotfiles
My system configuration (things like: ZSH, Vim, Git, Ruby, Rust and others).
https://github.com/tombruijn/dotfiles
dotfiles git hammerspoon iterm2 vim zsh
Last synced: 2 months ago
JSON representation
My system configuration (things like: ZSH, Vim, Git, Ruby, Rust and others).
- Host: GitHub
- URL: https://github.com/tombruijn/dotfiles
- Owner: tombruijn
- Created: 2010-10-10T12:32:01.000Z (about 14 years ago)
- Default Branch: main
- Last Pushed: 2024-08-04T15:45:32.000Z (5 months ago)
- Last Synced: 2024-10-06T11:42:41.402Z (3 months ago)
- Topics: dotfiles, git, hammerspoon, iterm2, vim, zsh
- Language: Vim Script
- Homepage: https://tomdebruijn.com/
- Size: 809 KB
- Stars: 19
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfiles
These dotfiles contain configuration and installation for:
- Xcode
- Homebrew
- iTerm
- Zsh
- Dotfiles
- VIM (Neovim and MacVim)
- chruby and ruby-install
- rustup and Rust
- Hammerspoon
- Misc. Utilities**This setup is intended for the latest macOS version**
## Installation
This is a step-by-step installation guide.
### Xcode
Install Xcode through the Mac App Store.
Then run:
```sh
xcode-select --install
```### Dotfiles installation
Next, clone this Git repository, initialize/update the submodules and finally
hook everything up by running the install script.```sh
mkdir $HOME/tombruijn
git clone git://github.com:tombruijn/dotfiles.git $HOME/tombruijn/dotfiles
cd $HOME/tombruijn/dotfiles && git submodule init && \
git submodule update --recursive
./install
```This should set up the symlinks from the dotfiles directory to your `$HOME`
directory, do not remove the `dotfiles` directory.### macOS defaults
Set macOS defaults.
```sh
./.macos
```### Homebrew
Next, install [Homebrew](https://brew.sh/) using the command listed on the website.
After installing Homebrew, ensure permissions are correct by running the
following.```sh
brew bundle
```### Zsh
#### Private credentials
To configure credentials that shouldn't be checked into git, create a
`~/.extra` file like the example below.```sh
#!/bin/shexport GPG_SIGNING_KEY="KEY_ID"
```Now refresh you shell sessions either by opening a new pane or by running
`reload`.#### GPG configuration
Transfer your `~/.gnupg` directory to the new machine. You need the following
files:```
private-keys-v1.d/*
pubring.kbx
```Fix the permissions of this directory after the move.
```
chmod 600 ~/.gnupg/*
chmod 700 ~/.gnupg
```### fzf
To install [fzf](https://github.com/junegunn/fzf), use the install script
listed in `brew info fzf` after installing it through `brew install fzf`.Say yes to "fuzzy auto-completion" and "key bindings".
### vim
Install Neovim.
```sh
# Should be installed through the Brewfile, but to do so manually:
brew install neovim# Additional packages
# Ruby package for neovim
gem install neovim
# Python package for Python bindings (Python is used by UltiSnips)
pip2 install --upgrade neovim
```Use [vim-plug](https://github.com/junegunn/vim-plug/) to install vim plugins.
```sh
vim +:PlugInstall
```### Python
For neovim to pick up Python support Python and the neovim package need to be
installed.```sh
pyenv install
pyenv global
pip install --upgrade pip # Updating is just good practice
pip install neovim
```### chruby and ruby-install
```sh
ruby-install ruby [VERSION]
```### Rust and rustup
Install [rustup](https://www.rustup.rs/) and with it Rust.
Which Rust version to install depends on the project you're working on.