Skip to content

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

Install Brew

    brew install ponysay fortune rtk gemini-cli mole ngrok gh uv
    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
    cd dotfiles
    git submodule init
    git submodule update

To update submodules, run:

    git submodule foreach git pull 

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

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).

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

Stars

13 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages