https://github.com/aboqasem/dotfiles
:wrench: dotfiles
https://github.com/aboqasem/dotfiles
dotfiles macos
Last synced: 2 months ago
JSON representation
:wrench: dotfiles
- Host: GitHub
- URL: https://github.com/aboqasem/dotfiles
- Owner: aboqasem
- License: mit
- Created: 2022-04-29T05:04:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-17T13:35:07.000Z (4 months ago)
- Last Synced: 2025-01-29T18:47:12.701Z (4 months ago)
- Topics: dotfiles, macos
- Language: Shell
- Homepage:
- Size: 398 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mohammad’s dotfiles
## Setting up a fresh Mac
1. [Generate a new public and private SSH key](https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) by running:
```zsh
bash <(curl https://raw.githubusercontent.com/aboqasem/dotfiles/HEAD/ssh.bash) ""
```2. Clone this repo to `~/dev/dotfiles` with:
```zsh
mkdir -p ~/dev && git clone --recursive [email protected]:aboqasem/dotfiles.git ~/dev/dotfiles
```3. Run the installation with:
```zsh
cd ~/dev/dotfiles && zsh setup.sh
```4. Follow the instructions printed at the end of the installation.
## Keeping up to date
Run the sync script frequently:
```zsh
dotsync
```## Tips
- All `*.zsh` files in `$DOTFILES/custom` will be sourced by [`oh-my-zsh`][oh-my-zsh]. Use `custom/other.zsh` to add custom things that should not be committed.
## Inspiration
- [`mathiasbynens/dotfiles`](https://github.com/mathiasbynens/dotfiles)
- [`driesvints/dotfiles`](https://github.com/driesvints/dotfiles)
- [`lra/mackup`](https://github.com/lra/mackup)[oh-my-zsh]: https://ohmyz.sh/