3a3fc30b8c
- linting/fixing/formating - utility for suggesting aliases now accepts parameters to change output size - add helper to checkci - add verify committer script to avoid committer with wrong git identify
55 lines
1.0 KiB
Markdown
55 lines
1.0 KiB
Markdown
# Introduction
|
|
|
|
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
|
|
|
|
## Prerequisites
|
|
|
|
### Centos
|
|
|
|
`yum install git -y`
|
|
|
|
## Setup
|
|
|
|
```
|
|
git clone https://github.com/MorganGeek/dotfiles.git $HOME/Code/dotfiles
|
|
$HOME/Code/dotfiles/dot_scripts/bootstrap.sh
|
|
```
|
|
|
|
### Run
|
|
|
|
run `.scripts/bootstrap.sh`
|
|
|
|
### Reload
|
|
|
|
run `zsh .scripts/reload.sh`
|
|
|
|
### Upgrade
|
|
|
|
run `zsh .scripts/upgrade.sh`
|
|
|
|
### Scope
|
|
|
|
- Use SDKMan to install development tools
|
|
- Install Docker Desktop for Mac
|
|
- Install asciidoctor-pdf
|
|
- Install Oh My Zsh and some cool dependencies
|
|
- OSX Defaults
|
|
- Install NPM dependencies
|
|
- Install pip and pipenv
|
|
- Install AWS-CLI
|
|
|
|
### If Yubico is installed, run this
|
|
|
|
`sudo ansible-playbook ~/.scripts/ansible/macsecure_playbook.yaml`
|
|
|
|
#### In cases of `\n` errors with zsh
|
|
|
|
[Source](https://github.com/robbyrussell/oh-my-zsh/issues/6764#issuecomment-384045008)
|
|
|
|
```
|
|
cd $ZSH
|
|
git config core.autocrlf false
|
|
git rm --cached -r .
|
|
git reset --hard
|
|
```
|