https://github.com/jamesstonehill/dotfiles
🏠 My dotfiles
https://github.com/jamesstonehill/dotfiles
dotfiles dotfiles-macos macos-dotfiles neovim vim zsh
Last synced: 9 months ago
JSON representation
🏠 My dotfiles
- Host: GitHub
- URL: https://github.com/jamesstonehill/dotfiles
- Owner: jamesstonehill
- Created: 2017-09-19T20:17:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-03-11T13:12:39.000Z (over 1 year ago)
- Last Synced: 2025-06-13T11:57:05.484Z (about 1 year ago)
- Topics: dotfiles, dotfiles-macos, macos-dotfiles, neovim, vim, zsh
- Language: Lua
- Homepage:
- Size: 7.67 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfiles
These are my dotfiles. Like pretty much all dotfiles, they are largely stolen
from other, smarter people. Let me know if you find them useful or if you have
any suggestions for how they could be improved!
## Setup
First start by cloning this repo into your home directory.
```shell
cd ~
git clone https://github.com/jamesstonehill/Dotfiles.git
```
Then symlink the files that don't require alteration
```bash
ln -s ~/Dotfiles/zshrc ~/.zshrc
ln -s ~/Dotfiles/init.lua ~/.config/nvim/init.lua
ln -s ~/Dotfiles/lua/ ~/.config/nvim/
ln -s ~/Dotfiles/gitignore_global ~/.gitignore_global
ln -s ~/Dotfiles/gitattributes ~/.gitattributes
ln -s ~/Dotfiles/irbrc ~/.irbrc
ln -s ~/Dotfiles/gemrc ~/.gemrc
ln -s ~/Dotfiles/pryrc ~/.pryrc
ln -s ~/Dotfiles/asdfrc ~/.asdfrc
ln -s ~/Dotfiles/default-gems ~/.default-gems
```
And copy and edit the files that do require alteration
```bash
cp ~/Dotfiles/gitconfig ~/.gitconfig
```
### Installing Dependencies
My dotfiles have a few dependencies. Most of these can be installed with
[homebrew](https://brew.sh/).
To install these dependencies with homebrew `cd` into the Dotfiles directory and
type `brew bundle`. You can comment out any dependencies you don't want in the
Brewfile.
Some of my dotfiles have Ruby gem dependencies. If you have a working ruby
version running locally you can install these by running `bundle install` inside
this directory.
Below I've included some instructions for setup specific to individual dotfiles.
### zshrc
I use [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh). You'll need to
install oh-my-zsh for my zshrc config to work. To download it see the
instructions on the oh-my-zsh github page.
### vimrc
To install the vim packages first install
[vim-plug](https://github.com/junegunn/vim-plug).
Then inside vim run `:PackerInstall`.
#### Linting
I'm using [mason.nvim](https://github.com/williamboman/mason.nvim) to install linting packages. To view the available linting packages run in vim `:Mason`. This will bring up a window of the various libraries you can install. Then to install one run something like `:MasonInstall black`.
### gitconfig
You'll need to replace `` and `` with your name and
email.
### Terminal
For a terminal I use [iTerm2](https://www.iterm2.com/). I've included an iTerm
theme that matches my vim theme in this repo for ease. This file is the
Jellybeans.itermcolors file. See iTerm2 documentation on how to setup this
theme.
In order to enable powerline fonts you'll want to enable the option here in
iterm.
https://apple.stackexchange.com/a/413332/223301