Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flybayer/dotfiles
My rcm dotfiles
https://github.com/flybayer/dotfiles
Last synced: 13 days ago
JSON representation
My rcm dotfiles
- Host: GitHub
- URL: https://github.com/flybayer/dotfiles
- Owner: flybayer
- Created: 2015-11-15T22:06:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T19:45:29.000Z (about 2 years ago)
- Last Synced: 2024-11-30T16:36:19.539Z (23 days ago)
- Language: Shell
- Homepage:
- Size: 38.1 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My personal dotfiles
*Managed with [rcm][]*
## New macOS machine setup
1. Install XCode from the App Store
1. [Generate SSH keys and add them to GitHub](https://help.github.com/articles/generating-ssh-keys/)
1. Clone this repogit clone [email protected]:flybayer/dotfiles.git ~/.dotfiles
1. Create `.laptop.local` link
ln -s ~/.dotfiles/host-osx/laptop.local ~/.laptop.local
1. Download & run [thoughtbot's laptop script][] to install and configure all your apps
1. Set up dotfiles *(using [rcm][])*
1. Link the rcm config onlyrcup -v rcrc
1. Do a dry run to see which files will be symlinked
lsrc -B osx
1. Link the dotfiles
rcup -vB osx
### Set up key remapping
1. In OSX System Preferences, change Caps Lock to Control
1. Karabiner should be configured with mackup below### Restore application settings
If you've already installed the dotfiles with the `rcup` command listed above,
you'll have `~/.mackup.cfg` installed. Modify this configuration file to include
the applications for which you wish to install preference files [see
[supported applications][] or run `mackup list`]. Install all OS X applications
on your list, including your storage engine app (Dropbox by default). There
are more options for the mackup configuration file you might want to tinker
with. Here are [the mackup config docs][].Once you're satisfied your applications are installed, sync their preferences
with mackup:```
mackup restore
```## New Linux machine setup
1. [Generate SSH keys and add them to GitHub](https://help.github.com/articles/generating-ssh-keys/)
1. Clone this repogit clone [email protected]:flybayer/dotfiles.git ~/.dotfiles
or
git clone https://github.com/flybayer/dotfiles.git ~/.dotfiles1. `Run setup-linux.sh`:
.dotfiles/host-mts-linux/setup-linux.sh
## Adding new files to the project
```
mkrc ~/.filename
```**Examples:**
```
mkrc ~/.vimrc
mkrc ~/.atom/config.cson # Nested files also work
mkrc ~/.vim # And entire directories work too
```The specified file will be moved to the `~/.dotfiles` directory with the
dot prefix removed. The original file will be deleted,
then symlinked from `~/.dotfiles` back to its original location.
It will now stay in sync and be easily managed with source control.[rcm]: https://github.com/thoughtbot/rcm
[thoughtbot's laptop script]: https://github.com/thoughtbot/laptop#install
[mackup]: https://github.com/lra/mackup
[supported applications]: https://github.com/lra/mackup#supported-applications
[the mackup config docs]: https://github.com/lra/mackup/blob/master/doc/README.md