Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/julienbourdeau/dotfiles

All my dotfiles and versionnable configuration
https://github.com/julienbourdeau/dotfiles

dotfiles homebrew

Last synced: 6 days ago
JSON representation

All my dotfiles and versionnable configuration

Awesome Lists containing this project

README

        

# Julien’s dotfiles

```
$ ./dot
Usage:
./dot [--dotfiles] [--sublime] [--mackup] [--hosts] [--homebrew-bash] [--php]

Options:
-d | --dotfiles Symlink dotfiles in home/ directory
-h | --hosts Create local hosts files and symlink it
--php Setup php prepended file
--sublime Symlink Sublime Text preferences
--homebrew-bash Add bash from homebrew to shell login and switch to it

```

## Install new mac

1. Install 1password
1. Connect Apple iCloud account
1. Create SSH key, add it to github
1. Clone this repo
1. Follow the steps below

### Install all the things

Use bash, not the default zsh.

```sh
exec bash
./macos/00-brew.sh
./macos/01-basic.sh
./macos/02-apps.sh
./macos/03-lang.sh
```

### Link configuration

```sh
./dot --dotfiles
./dot --homebrew-bash
./dot --sublime
./dot --php
```

`./dot --dotfiles` can be executed anytime.

Configure iTerm to use `misc/terminal`.

![](https://user-images.githubusercontent.com/1525636/201951710-1df49a04-7600-4e53-8bec-d0c4cbe0fe0c.png)

### 1password-cli (ssh-agent)

...

### /etc/pam.d/sudo

Use TouchID to _sudo_ instead of password.

```diff
# sudo: auth account password session
+ auth sufficient pam_tid.so
auth sufficient pam_smartcard.so
auth required pam_opendirectory.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so
```

Source: https://davidwalsh.name/touch-sudo

## Thanks to…

* [@mathiasbynens](https://github.com/mathiasbynens/dotfiles/) ([compare](https://github.com/mathiasbynens/dotfiles/compare/d6ca39a907123c0a7f874c500ba16cabb3156a63...master))
* [@paulmillr](https://github.com/paulmillr/dotfiles/) ([for vim config](https://github.com/paulmillr/vimrc/tree/5b472316d099fc1f6626ca790e81f6d021747c13) **NEEDS UPDATE**)
* [@statico](https://github.com/statico/dotfiles/)