Skip to content

ronanguilloux/dotfiles

Repository files navigation

.files

My commented dotfiles (bash, vim, git, etc.), fruits of long-term endeavour in dotfiles fans thursday night parties, dotfiles related blogposts reading, dotfiles github repositories crawling, etc.

Dependencies

Many shell files (tools, etc.) aliases in the .bash_aliases conf file are in git@github.com:ronanguilloux/Bin.git This is why Bin.git is mentionned below in the install procedure.

Installation

Landing on a new brand server trough ssh, just run this :

    $ brew install ponysay fortune
    $ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    $ git clone git://github.com/ronanguilloux/dotfiles.git
    $ git clone git://github.com/ronanguilloux/Bin.git
    $ git clone git://github.com/zsh-users/antigen.git .antigen
    $ dotfiles/install.sh

The install.sh will move the original .bashrc file and the .vim directory found in $HOME before changing using symbolic links, in case there were already modified.

Suggestions

Installation on Microsoft™ Windows®

¯\_(ツ)_/¯

VIM: bundles installation

All pathogen-based vim bundles come from git submodules.

To install all of them, you must run two commands:

  • git submodule init to initialize your local configuration file,
  • git submodule update to fetch all the data from each project and eventually check out the appropriate commit (see the .gitmodules file).
    $ git config --global url."https://".insteadOf git://
    $ git submodule init
    $ git submodule update

To add a new submodule:

    $ git submodule add git://github.com/mbbill/code_complete.git .vim/bundle/code_complete

To update submodules

    $ git submodule foreach git pull origin master

ZSH: how to mix .zhrc & ho-my-zsh

In order to use the current .zshrc with oh-my-zsh, just add a symink in the ~/.oh-my-zsh/custom directory:

    $ cd .oh-my-zsh/custom/
    $ ln -s $HOME/dotfiles/.zshrc local.zsh

Binaries dependencies: The ./dotfiles/.zshrc file depends on some ~/Bin/sh/*.sh files in ronanguilloux/Bin

(Oh-my-zsh is a community-driven framework for managing your zsh configuration)

GIT: Preventing privacy & security issues

For credentials, tokens & other secret stuff, use .local files :

    # ~/.gitconfig.local
    [user]
        name = John Doe
        email = john@doe.com
    [github]
        user = johndoe
        token = 88bc06d8a...

which is already mentionned inside the .gitconfig file you'll found here:

    # ~/dotfiles/.gitconfig
    [include]
        # For username / creds / etc
        path = ~/.gitconfig.local

License Information

Issues & Contributions

The issue queue can be found at: https://github.com/ronanguilloux/dotfiles/issues

About

My commented dotfiles (bash, vim, git, etc.)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published