Skip to content

alexandrebk/dotfiles

 
 

Repository files navigation


Setup

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.

SHH passphrase

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

VIM

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

brew install rename
brew install tree
brew install ack
brew cask install whatsapp
brew install cloc
brew install bat
brew install git-delta

Snippets

Vim

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

Sublime Test

subl /Users/alexandrebouvier/Library/Application\ Support/Sublime\ Text\ 3/Packages/User

Photos saved on AWS S3

brew install rclone

First 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

Ressources externes

Configure ton MacBook comme ça ou juste jette-le ! par cocadmin

Bat à la place de cat

Installer bat (brew install bat) pour pouvoir utiliser l'alias ci-dessous

alias cat="bat"

Brew install

About

Setup for git, zsh and vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Vim Script 46.5%
  • Shell 37.7%
  • Ruby 15.8%