/new-dotfiles

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Lazy Dotfiles | Why do work when you can be lazy

By Jason Yao

This repo contains my personal dotfiles, created in order to unify my experience across all *nix systems.

For Windows support, please see here

This repo contains my configuration files, which is used in tandem with pydotfiles, a dotfiles manager that has enabled my dotfiles to shrink from dozens of bash scripts to just a couple of configuration files, making maintenance extremely easy.

Features

  • Sets sane defaults

  • Downloads a bunch of useful command-line tools (GNU tools, wget, bash v4+, vim, node, etc.)

  • [macOS only] Downloads a bunch of useful applications:

  • Secures and locks down the system via proper firewalling

  • Sets up proper dev environments (Python, Java, Ruby, Golang)

  • Sets up proper git environment with a better diff

  • [macOS only] Adds iTerm 2 shell integrations

Supported Platforms

  • macOS 10.12.x+ (Sierra+)
  • Ubuntu 16.04 LTS

Installation

[RECOMMENDED] Opinionated Bootstrap

The following one-liner will bootstrap the system to an opinionated setup, in particular setting up pyenv for you if you don't have it yet, and setting up a new laptop-wide global python environment for day-to-day use.

Basically, if there's a completely new computer, run this:

curl -s https://raw.githubusercontent.com/JasonYao/pydotfiles/master/bin/bootstrap | bash -s git@github.com:JasonYao/dotfiles.git

Non-Opinionated Bootstrap

The following one-liner won't assume the python environment that you're installing this to, and just install itself with pip.

Basically, if your computer already has the required python version/environments, run this:

curl -s https://raw.githubusercontent.com/JasonYao/pydotfiles/master/bin/bootstrap-base | bash -s git@github.com:JasonYao/dotfiles.git

Usage

  • To toggle show/hiding of iTerm 2: +

  • To update + upgrade the dotfiles:

upgrade
  • To uninstall the dotfiles:
uninstall

License

This repo is licensed under the terms of the GNU GPL v3, of which a copy may be found here.