An open API service indexing awesome lists of open source software.

https://github.com/murshidazher/dotfiles

🍎 A dogmatic script to set up a new Mac, or if I flush my current one.
https://github.com/murshidazher/dotfiles

bash dotfiles env intel mac macos new-machine shell-script

Last synced: 2 months ago
JSON representation

🍎 A dogmatic script to set up a new Mac, or if I flush my current one.

Awesome Lists containing this project

README

          

# [dotfiles](https://git.io/dotfiles-mac)

> My personal installation script to automate any new macOS system setup so I don't need to feel poor.

- A dogmatic script to set up my mac. Built for Mac OS X :fire: :fire:

## Table of Contents

- [dotfiles](#dotfiles)
- [Table of Contents](#table-of-contents)
- [Installing / Getting started](#installing--getting-started)
- [Setup](#setup)
- [What's in the box](#whats-in-the-box)
- [Highlights](#highlights)
- [Basic](#basic)
- [Rules of `dev` directory](#rules-of-dev-directory)
- [Updating vscode plugin list](#updating-vscode-plugin-list)
- [gpg sign](#gpg-sign)
- [Acknowledgements](#acknowledgements)
- [TODO](#todo)
- [License](#license)

## Installing / Getting started

> ⚠️ Scripts in this project performs automated tasks. Review the code first and use at your own risk! ⚠️

### Setup

To setup simply open the terminal, then:

```sh
bash -c "`curl -L https://git.io/dotfiles-mac`"
```

## What's in the box

### Highlights

- **Basic Tools** [Homebrew](https://brew.sh/) - Package Manager for macOS
- [Cask](https://github.com/Homebrew/homebrew-cask) - speed installation and management of GUI macOS applications.
- [mas](https://github.com/mas-cli/mas) - to install AppStore applications

### Basic

- [Magnet](https://magnet.crowdcafe.com/) - Window manager
- [iterm2](https://iterm2.com/) - macOS terminal replacement
- [dash](https://kapeli.com/dash) - API documentation set
- [ispell](https://www.gnu.org/software/ispell/) - spelling checker for Unix

### Rules of `dev` directory

> outside the `src` we can have directory such as `sandbox` and etc...

There are some rules when naming a directory inside the `dev`;

- All directories are lowercase.
- All directories are kebab case (that I can control).
- There is a directory named `src`.
- `src` contains a directory for each git platform.
- Inside each git platform is only repo names.
- Add your secrets and work aliases in the root directory.

### Updating vscode plugin list

Keeping the plugin list up to date requires manual work (like with Homebrew), and you can update the extension list by running:

```sh
codexm
```

### gpg sign

> Read this[stackoverflow](https://stackoverflow.com/questions/39494631/gpg-failed-to-sign-the-data-fatal-failed-to-write-commit-object-git-2-10-0) for troubleshooting.

```sh
> gpg --list-keys
> git config --global user.signingkey [public key ID]
```

## Acknowledgements

Credit, inspiration and thanks to:

- [Mathias Bynens](https://github.com/mathiasbynens/dotfiles)
- [Simon Boudrias](https://github.com/SBoudrias/dotfiles)
- [Nina Zakharenko](https://github.com/nnja/new-computer)
- [Aaron Bates](https://github.com/aaronbates/dotfiles)
- [SimonAdler](https://github.com/SimonAdler/dotfiles-1) - for BATS and Make file creations
- [webpro](https://github.com/webpro/dotfiles) - for react native setup
- :burrito: [digital mac base icon](https://dribbble.com/shots/6185043-Pixelado) by Gustavo Zambelli

and many more...

## TODO

- [ ] Finish react native settings, flutter and mobile development setup script
- [x] [https://dev.to/0xdonut/how-to-install-flutter-on-macos-using-homebrew-and-asdf-3loa](https://dev.to/0xdonut/how-to-install-flutter-on-macos-using-homebrew-and-asdf-3loa)
- [ ] Add make file installation
- [ ] Add [zsh](https://github.com/jsstrn/dotfiles/blob/master/zsh/.zshrc) plugin management for m1
- [ ] Organize macOS launchpad apps using [lporg](https://github.com/blacktop/lporg)
- [ ] Better management of language versions [dotfiles](https://github.com/scflode/dotfiles/tree/master/installer/versions)
- [ ] Migrate from [bash to zsh](https://aboutmonica.com/blog/setting-up-zsh-with-autosuggestions) in m1
- [ ] [Docker flutter github](https://github.com/matsp/docker-flutter)

## License

[MIT](https://github.com/murshidazher/dotfiles/blob/main/LICENSE) © 2020-2021 Murshid Azher.