Go to file
Morgan Wattiez c1b5181cd8 Fix error with loading of sdkman scripts
- error was ```
/Users/morganwattiez/.sdkman/bin/sdkman-init.sh:131: parse error near `\n'
/Users/morganwattiez/.zshrc:108: command not found: sdk
```
caused by custom alias `done` which would cause issues with loading of some sdkman scripts
2019-07-21 18:15:53 +02:00
dot_aws awscli install + config 2019-04-09 13:47:54 +02:00
dot_scripts Check yubico challenge is configured correctly 2019-06-23 15:11:50 +02:00
private_dot_config/Code/User backup VScode and iTerm2 prefs 2019-03-01 12:47:37 +01:00
private_dot_ssh keep ssh session alive for 1H 2019-06-17 11:15:20 +02:00
.gitignore Enable Yubikey 2019-06-22 18:12:13 +02:00
Brewfile add firefox 2019-07-19 19:52:53 +02:00
com.googlecode.iterm2.plist backup VScode and iTerm2 prefs 2019-03-01 12:47:37 +01:00
dot_bash_profile init dotfiles 2019-03-01 09:17:42 +01:00
dot_gitconfig new aliases for git + vim config 2019-03-01 22:17:53 +01:00
dot_vimrc always highlight useless whitespaces in vim 2019-06-23 11:00:54 +02:00
dot_zsh_aliases decorate zsh with plugins 2019-07-21 18:13:47 +02:00
dot_zsh_functions new aliases for favorite links 2019-07-18 12:03:52 +02:00
dot_zshrc decorate zsh with plugins 2019-07-21 18:13:47 +02:00
dot_zshrc.pre-oh-my-zsh init dotfiles 2019-03-01 09:17:42 +01:00
README.md decorate zsh with plugins 2019-07-21 18:13:47 +02:00
symlink_dot_mackup.cfg add CLI utilities 2019-03-01 11:42:04 +01:00

Use SDKMan to install development tools

curl -s "https://get.sdkman.io" | bash
sdk install java
sdk install gradle
sdk install java 8.0.202-zulu

Install Docker Desktop for Mac

~/.scripts/bootstrap.sh

Install dependencies (apps, fonts, ...) with Brew

brew bundle

Install Oh My Zsh and some cool dependencies

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9
git clone https://github.com/AlexisBRENON/oh-my-zsh-reminder ~/.oh-my-zsh/custom/plugins/reminder
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions

In order to upgrade it, just run

upgrade_oh_my_zsh

In cases of \n irrors with zsh

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

OSX Defaults

defaults write http://com.apple .screencapture location ~/Downloads
#defaults write com.apple.PowerChime ChimeOnNoHardware -bool true # still KO after closing lid
#killall PowerChime

Install NPM dependencies

npm install -g jira-node-cli

Install pip and pipenv

sudo easy_install pip
sudo pip install --upgrade pip

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python3 get-pip.py
sudo pip3 install --upgrade pip
ln -s /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/pip pip3
export PATH=$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/
pip3 install pipenv

Install AWS-CLI

pip3 install boto3
pip3 install awscli

If Yubico is installed, run this :

sudo ansible-playbook ~/Code/dotfiles/macsecure_playbook.yaml

Upgrades

Upgrade dependencies with Brew

brew outdated | xargs brew upgrade