Skip to content
/ dotfiles Public

Linux and MacOS dotfiles, vim plugins and tmux configuration

Notifications You must be signed in to change notification settings

pinne/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation:

Replace this with the dotfile path.

    DOT_PATH=~/dotfiles
    BIN_PATH=~/bin

    git clone git://github.com/pinne/dotfiles.git $DOT_PATH

Fix path:

    PATH=$PATH:$BIN_PATH

Create symlinks:

    ln -s $DOT_PATH/vim/ ~/.vim
    ln -s $DOT_PATH/vim/gvimrc ~/.gvimrc
    ln -s $DOT_PATH/vim/vimrc ~/.vimrc
    ln -s $DOT_PATH/bashrc ~/.bashrc
    ln -s $DOT_PATH/tmux.conf .tmux.conf
    ln -s $DOT_PATH/inputrc ~/.inputrc

    # for fish shell
    ln -s $DOT_PATH/fish/functions/g.fish ~/.config/fish/functions/g.fish
    ln -s $DOT_PATH/fish/functions/fish_prompt.fish ~/.config/fish/functions/fish_prompt.fish

Use the git-prompt script, Fedora:

    cp /usr/share/git-core/contrib/completion/git-prompt.sh $BIN_PATH/
    sed -i "2isource $BIN_PATH/git-prompt.sh" $DOT_PATH/bashrc

Fetch submodules:

    cd $DOT_PATH/
    git submodule update --init

To add a plugin:

    git submodule add https://github.com/user/plugin-name.git vim/bundle/plugin-dir

To upgrade all bundled plugins:

    git submodule foreach git pull origin master

To remove a submodule:

    Delete the relevant section from the .gitmodules file.
    Delete the relevant section from .git/config.
    Run git rm --cached path_to_submodule (no trailing slash).
    Commit and delete the now untracked submodule files.

About

Linux and MacOS dotfiles, vim plugins and tmux configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published