Source: Le wagon Setup
Run this shell:
export GITHUB_USERNAME=alexandrebk
Now copy/paste this very long line in your terminal. Do not change this one.
mkdir -p ~/code/$GITHUB_USERNAME && cd $_ && git clone git@github.com:$GITHUB_USERNAME/dotfiles.git
Run the dotfiles installer.
cd ~/code/$GITHUB_USERNAME/dotfiles
zsh install.sh
Then run the git installer: The programm will ask your email from Github.
cd ~/code/$GITHUB_USERNAME/dotfiles
zsh git_setup.sh
Please now quit all your opened terminal windows.
In order not to re-type your SSH passphrase at every git push, you can add these lines to the ~/.ssh/config file:
touch ~/.ssh/config # Creates the file if it does not exist
st ~/.ssh/config # Opens the file in Sublime text
And then add these 3 lines to the file. Save.
Host *
AddKeysToAgent yes
UseKeychain yes
Plugin list
First of all you need to install Vundle to manage your plugin.
The you can add the plugin to your vimrc
vim ~/.vimrc
At the end run
vim +PluginInstall +qall
To install Emmet vim you can follow this instructions
brew install rename
brew install tree
brew install ack
brew cask install whatsapp
brew install cloc
brew install bat
brew install git-delta
To install snippets on vim you can create symbolic link to your dotfiles
ln -s /Users/alexandrebouvier/code/alexandrebk/dotfiles/snippets/markdown_snippets.vim /Users/alexandrebouvier/.vim/after/ftplugin/markdown_snippets.vim
ln -s /Users/alexandrebouvier/code/alexandrebk/dotfiles/snippets/ruby_snippets.vim /Users/alexandrebouvier/.vim/after/ftplugin/ruby_snippets.vim
ln -s /Users/alexandrebouvier/code/alexandrebk/dotfiles/snippets/javascript_snippets.vim /Users/alexandrebouvier/.vim/after/ftplugin/javascript_snippets.vim
ln -s /Users/alexandrebouvier/code/alexandrebk/dotfiles/snippets/html_snippets.vim /Users/alexandrebouvier/.vim/after/ftplugin/html_snippets.vim
ln -s /Users/alexandrebouvier/code/alexandrebk/dotfiles/snippets/text_snippets.vim /Users/alexandrebouvier/.vim/after/ftplugin/text_snippets.vim
subl /Users/alexandrebouvier/Library/Application\ Support/Sublime\ Text\ 3/Packages/User
brew install rcloneFirst we need to create a remote name s3
To download files to AWS --> rclone copy s3:my-new-space my_path
To upload files to AWS --> rclone copy my_path s3:my-new-space/my_path
Configure ton MacBook comme ça ou juste jette-le ! par cocadmin
Installer bat (brew install bat) pour pouvoir utiliser l'alias ci-dessous
alias cat="bat"