Skip to content

My dotfiles and a shell script to manage them

License

Notifications You must be signed in to change notification settings

eirenicon/dotfiles-1

 
 

Repository files navigation

dotfiles

My dotfiles and a script to manage them.

Overview

dotfiles.sh was written to act much like GNU Stow, only with dotfiles in mind from the start. The main differences are:

  • dotfiles.sh targets the user's home directory by default (i.e. stow -t $HOME).
  • dotfiles.sh never symlinks directories, only files (i.e. stow --no-folding).
  • dotfiles.sh makes backups of local config files and can restore them if you remove your symlinked version.

Usage

usage: dotfiles.sh [options] [subdirectory ... ]

Configuration file manager | github.com/kevlar1818/dotfiles

Copyright 2014-2016 Kevin Hanselman (See LICENSE or source)

Arguments:
  subdirectory    symlinks all files in the given subdirectory
                  (defaults to all subdirectories)

Options:
  -n              show what would be done, but take no other action
  -r              remove symlinks and restore backups if present
  -S              install files as root via sudo
                  (USE CAREFULLY)
  -C              copy files rather than use symlinks
  -t TARGET       use TARGET as the base target directory
                  (defaults to $HOME)
  -h              show this help text and exit

For example, to install vim and bash RCs:

./dotfiles.sh vim bash

About

My dotfiles and a shell script to manage them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 62.4%
  • Python 21.1%
  • Vim Script 16.5%