Skip to content

SylvainJuge/_dotfiles

Repository files navigation

yet another .dotfiles repo


=> ZSH settings

    .zshrc -> .dotfiles/_zsh/.zshrc
    contains oh-my-zsh as submodule (automatic update disabled)
    bash aliases are common with BASH (_alias file)

    [linux] : create symlinks
    
	ln -s ~/.dotfiles/_zshrc ~/.zshrc
	ln -s ~/.dotfiles/_oh-my-zsh ~/.oh-my-zsh


=> VIM

    contains plugins as submodules in _vim/.vim/bundle folder

    [linux] : create symlinks

	ln -s ~/.dotfiles/_vim ~/.vim
	ln -s ~/.dotfiles/_vimrc ~/.vimrc
        
    [windows] : create ~/.vimrc file with content :



=> BASH settings

    bash aliases are common with ZSH (_alias file)

    [windows xp] : create a .bashrc in folder %userprofile% with :
        #!/bin/bash
        source ~/.dotfiles/_bashrc

    [windows 7 & further] : create symbolic links
        - open a command window as administator
        - execute command (mklink : using .\ in path is mandatory to make link relative)

        cd %userprofile%
        mklink .bashrc .\.dotfiles\_bashrc
        mkdir .\bin
        mklink .\bin\ack .\.dotfiles\bin\ack

    [linux] : create symbolic link ~/.bashrc -> ~/.dotfiles/_bashrc


TODO
    - add xmlstarlet for windows
    - make use of zsh aliases to use file associations
    - make configuration fit multiple environments using simple conditions
        - one for vidal
        - one for each personnal setup
        -> use a common file local to each computer
    - fix link path when executed from .dotfiles folder itself (ok when from parent folder)
        -> links miss the .dotfiles folder, and thus refer to a broken target

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published