https://github.com/nonrational/dotfiles
:neckbeard: Mostly macOS with a dash of GNU/Linux.
https://github.com/nonrational/dotfiles
bash dotfiles git gitconfig linux rcfiles screenrc vimrc
Last synced: 5 months ago
JSON representation
:neckbeard: Mostly macOS with a dash of GNU/Linux.
- Host: GitHub
- URL: https://github.com/nonrational/dotfiles
- Owner: nonrational
- Created: 2012-02-19T21:58:38.000Z (over 13 years ago)
- Default Branch: main
- Last Pushed: 2025-04-24T15:53:41.000Z (6 months ago)
- Last Synced: 2025-04-24T16:52:39.533Z (6 months ago)
- Topics: bash, dotfiles, git, gitconfig, linux, rcfiles, screenrc, vimrc
- Language: Vim Script
- Homepage:
- Size: 49.7 MB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Why?
Because storing cross-machine config is cumbersome. Installing Git is — for the most part — easy.
# Installation
## macOS
```shell
#!/usr/bin/env sh
xcode-select --installgit clone https://github.com/nonrational/dotfiles .dotfiles
cd .dotfilesmake brew-install
make brew-bundleif [ -f /opt/homebrew/bin/bash ]; then
echo '/opt/homebrew/bin/bash' | sudo tee -a /etc/shells
chsh -s '/opt/homebrew/bin/bash'
else
echo 'Unable to set default shell to `/opt/homebrew/bin/bash`'
fi# Better get a new terminal at this point.
make link-dotfiles
make link-karabiner
make link-sublime
make restore-preferences# Almost there! Good idea to restart iTerm now, and take the opportunity to
# ensure it has full disk access.
make macos-reset-dock
make macos-disable-restore-apps-on-login
make macos
```## GNU/Linux
```shell
#!/usr/bin/env shgit clone git@github.com:nonrational/dotfiles .dotfiles
cd .dotfilesmake link-dotfiles
```# Development
Since live-copies are symlinked out, commit and push changes as necessary.
For big refactors, don't try to do it live. Clone a separate copy.