karma-riuk / .dotfiles

My stowed dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My personal dotfiles

Install

To install on a plain distro or to update the changes made from another computer (remember to git commit && git push on the old computer and git pull on the new computer, in order to have the lastest dotfiles), just run

"${DOTFILES:-$HOME/.dotfiles}"/install

or if you already in the dotifles directory

./install

Specific dotfiles

If you want to install only specific dotfiles, you can either do it the safe way with (replace the content of $STOW_FOLDERS with what you want, it is a comma separated list)

STOW_FOLDERS="package1,package2,package3" $DOTFILES="${DOTFILES:-$HOME/.dotfiles}" $DOTFILES/install

(safe way because the $DOTFILES/install script first runs stow -D on all the folders stored in the $STOW_FOLDERS variable before re-installing them, which allows a more secure install)

Alternitavely you can run stow by yourself by doing

stow -D <package>
stow <package>

If you are sure the package's config you want is not on the system, then just run

stow <package>

Uninstall

To clear your system from all your config files, just run

"${DOTFILES:-$HOME/.dotfiles}"/clean_env

or if you already in the dotifles directory

./clean_env

Specific dotfiles

To clear a specific dotfiles from the system, just run

STOW_FOLDERS="package1,package2,package3" $DOTFILES="${DOTFILES:-$HOME/.dotfiles}" $DOTFILES/clean_env

Alternitavely, if you want to do it one by on

stow -D <package1>
stow -D <package2>
stow -D <package3>

About

My stowed dotfiles


Languages

Language:Shell 79.8%Language:TeX 12.3%Language:Vim Script 4.5%Language:Lua 1.8%Language:Vim Snippet 0.4%Language:Roff 0.4%Language:Perl 0.3%Language:Python 0.2%Language:Ruby 0.1%Language:Makefile 0.0%