Go to file
2020-07-13 16:18:58 +02:00
dot_aliases aliases for txt transformation 2020-07-13 16:15:11 +02:00
dot_aws awscli install + config 2019-04-09 13:47:54 +02:00
dot_git-template fix technical debt + fine tune functions and hooks 2020-07-12 16:22:17 +02:00
dot_scripts fix: lynx needed a openssl+rvm upgrade 2020-07-13 16:02:47 +02:00
dot_vim/ale_linters/Jenkinsfile secrets, jenkins tricks and productivity 2020-06-24 09:51:04 +02:00
private_dot_config add linters and refactor bootstraping scripts 2020-07-11 12:31:06 +02:00
private_dot_newsboat new funny podcasts to listen to... 2020-07-13 16:05:04 +02:00
private_dot_ssh enable pre-commit 2020-02-15 15:16:45 +01:00
.conform.yaml fix technical debt + fine tune functions and hooks 2020-07-12 16:22:17 +02:00
.gitignore ignore work in progress files 2020-07-11 12:34:46 +02:00
.pre-commit-search-and-replace.yaml fix technical debt + fine tune functions and hooks 2020-07-12 16:22:17 +02:00
.relint.yml fix technical debt + fine tune functions and hooks 2020-07-12 16:22:17 +02:00
Brewfile add prettier 2020-07-11 12:22:28 +02:00
centos.sh fix technical debt + fine tune functions and hooks 2020-07-12 16:22:17 +02:00
com.googlecode.iterm2.plist backup VScode and iTerm2 prefs 2019-03-01 12:47:37 +01:00
com.googlecode.iterm2.profile secrets, jenkins tricks and productivity 2020-06-24 09:51:04 +02:00
dot_ansiweatherrc Improvements :-) ... 2019-12-01 12:03:57 +01:00
dot_bash_profile install Rust 2019-11-16 13:29:52 +01:00
dot_gitconfig add delta as git diff tool 2020-07-08 14:41:14 +02:00
dot_macos (wip) draft for centos optimization 2019-08-11 21:44:01 +02:00
dot_p10k.zsh add linters and refactor bootstraping scripts 2020-07-11 12:31:06 +02:00
dot_profile jenkins pre-commit-hooks + aliases for git+brew 2020-06-29 13:34:06 +02:00
dot_surfraw.conf Add surfraw - lot of search engines in CLI 2019-08-15 11:19:11 +02:00
dot_vimrc vim plugin for comments + docs for using <leader> 2020-07-13 16:11:10 +02:00
dot_zsh_aliases fix: make aliases executable 2020-07-13 16:01:50 +02:00
dot_zsh_functions remove extra " and silent useless grep output 2020-07-13 16:18:58 +02:00
dot_zshrc fix technical debt + fine tune functions and hooks 2020-07-12 16:22:17 +02:00
dot_zshrc.pre-oh-my-zsh init dotfiles 2019-03-01 09:17:42 +01:00
Gemfile add 3llo - CLI for Trello 2019-11-16 10:46:56 +01:00
README.md fix technical debt + fine tune functions and hooks 2020-07-12 16:22:17 +02:00
requirements.txt add linters and refactor bootstraping scripts 2020-07-11 12:31:06 +02:00
symlink_dot_mackup.cfg enable pre-commit 2020-02-15 15:16:45 +01:00

Introduction

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

cd $ZSH
git config core.autocrlf false
git rm --cached -r .
git reset --hard