Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alecrust/dotfiles
My macOS setup.
https://github.com/alecrust/dotfiles
dotfiles
Last synced: 3 months ago
JSON representation
My macOS setup.
- Host: GitHub
- URL: https://github.com/alecrust/dotfiles
- Owner: AlecRust
- Created: 2015-11-15T16:57:06.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-26T17:51:59.000Z (3 months ago)
- Last Synced: 2024-10-26T19:43:13.521Z (3 months ago)
- Topics: dotfiles
- Language: Shell
- Homepage:
- Size: 976 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles [![Lint](https://github.com/AlecRust/dotfiles/actions/workflows/lint.yml/badge.svg)](https://github.com/AlecRust/dotfiles/actions/workflows/lint.yml) [![Scripts](https://github.com/AlecRust/dotfiles/actions/workflows/scripts.yml/badge.svg)](https://github.com/AlecRust/dotfiles/actions/workflows/scripts.yml)
My macOS setup.
## Install
1. In Finder press cmd + shift + . to show hidden files then restore [backup files](#backup-files) (optional)
2. Install [Homebrew](https://brew.sh/)
3. Clone to a suitable location (if not restored from backup):
```sh
git clone https://github.com/AlecRust/dotfiles ~/projects/personal/dotfiles
```4. Run the setup script:
```sh
~/projects/personal/dotfiles/setup.sh
```5. Complete [manual steps](#manual-steps)
### Manual Steps
1. Modify macOS settings
- In Finder sidebar enable home directory and device name item, disable Tags and add `~/projects` to Favorites
- Map ⇪ key to Ctrl at `Keyboard > Keyboard Shortcuts > Modifier Keys`
- Disable "Add full stop with double-space" at `Keyboard > Text Input > Input Sources`
- Enable "Show Percentage" in `Control Centre` settings
- Enable "Remote Login" in `Sharing` for SSH access
- Search for and add printer in "Printers & Scanners"2. Set up remote connections
- Set up GitHub connection with `gh auth login`
- Import GPG keys or create with `gpg --full-generate-key` and [add to GitHub](https://docs.github.com/en/github/authenticating-to-github/generating-a-new-gpg-key)
- Set up Heroku connection with `heroku login` and `heroku keys:add`
- Set up 1Password connection with `op account add`
- Copy SSH keys from each machine on local network with `ssh-copy-id`3. Set up other apps
- Import Raycast settings from Nextcloud
- Disable "Hardware Media Key Handling" at `brave://flags`
- Enable "Show features for web developers" at `Safari > Settings > Advanced`
- Sourcetree
- General: Disable modifying of global `.gitconfig`
- General: Set terminal app to Warp
- General: Enable "Open links on GitHub.com with Sourcetree"
- Diff: Set font to Fira Code 12pt
- Diff: Set diff tool to Kaleidoscope
- Diff: Remove `Gemfile.lock` from "Ignore File Patterns"
- Git: Click "Use System Git" and select `/opt/homebrew/bin/git`
- Git: Enable "Use rebase instead of merge by default for tracked branches"
- Advanced: Enable "Allow force push"
- Kaleidoscope
- Set font to Fira Code 12pt
- Set terminal app to Warp
- Install Sonos S2 app### Backup Files
Backup these files/folders from old machine and restore on new machine:
- `~/.config`
- `~/.extra`
- `~/.ssh`
- `~/.zsh_history`
- `~/docker`
- `~/Downloads`
- `~/Desktop`
- `~/Nextcloud`
- `~/projects`
- [Exported](https://gpgtools.tenderapp.com/kb/gpg-keychain-faq/backup-or-transfer-your-keys#backup-single-key) GPG keys
- [Exported](https://localwp.com/help-docs/getting-started/how-to-export-a-wordpress-site-on-local/) Local sites