Giter VIP home page Giter VIP logo

dotfiles's Introduction

Dotfiles

My personal dotfiles managed with GNU Stow.

Features

  • Supports Linux and MacOS
  • Supports multiple architectures
  • Written in pure bash with no dependencies on external processes/programs (besides stow)
  • Git submodule support

Quick Start

Install Dependencies

Linux

  1. Install system packages
sudo ./setup.sh --system
  1. Install user packages
./setup.sh

Advanced

Packages can be updated by passing --update. For example:

sudo ./setup.sh --system --update

Install Dotfiles

Simplified

Note: Piping curl to a shell is inherently dangerous. Only do so if you understand the risk.

curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/egladman/dotfiles/master/install.sh | sh

Advanced

git clone --recursive [email protected]:egladman/dotfiles.git ~/dotfiles; (cd ~/dotfiles; ./bin/sstow src)

Usage

Wrapper for GNU Stow to simplify cross-platform dotfile management
Usage: sstow [option] path/to/src

OPTIONS
   -h, --help                     Show this help text, and exit
   -V, --version                  Show version, and exit
   -S, --stow                     Stow dotfiles (this is the default action and can be omitted)
   -R, --restow                   Restow dotfiles (first unstow, then stow again). This is
                                  useful for pruning obsolete symlinks
   -D, --delete                   Unstow dotfiles
   -u, --dry-run                  Do not perform any operations that modify the filesystem; merely
                                  show what would happen.

Note: For the most up-to-date usage run ./bin/sstow --help

Advanced

Override auto-detected system facts with the following environment variables:

  • TARGETARCH
    • Values: x86_64, aarch64
    • Details: Run uname -m if your architecture isn't listed
  • TARGETOS
    • Values: linux, darwin

dotfiles's People

Contributors

egladman avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

dotfiles's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.