Giter Club home page Giter Club logo

dotfiles's Introduction

My dotfiles

This repository contains my home directory setup, including many scripts and configuration files built up over years. I decided to make it public in order to share it with colleagues and others who might be interested.

Licensed under the UNLICENSE.

How it's used

Other than git and a few helper scripts, there's no tool I used to "manage" my dotfiles. Namely, my home directory is a git clone. That is, $HOME/.git exists. So to set up my dotfiles on a new machine, I usually do something like this:

mkdir -p tmp/old
mv .bashrc .bash_profile other things tmp/old
git init
git remote add origin https://github.com/casmith/dotfiles
git pull origin master --ff-only
git branch --set-upstream-to origin/main main
chmod 0600 "$HOME/.ssh/config"

Note that some files in this repository, such as my SSH configuration, are encrypted. Some secrets are stored in .secret and sourced in my .zshrc. For more on how the encryption works, check out https://github.com/AGWA/git-crypt.

Motivation

In general, I'm making this public for the purposes of edification and easy sharing. It is not a goal for this setup to be used and supported by others. With that said, small fixes to existing scripts or suggestions on how to improve my setup are welcome.

Caveats

I may occasionally rewrite history of this repository and force push. This may occur if I discover that I have accidentally published sensitive information.

Credit

I drew much inspiration for this from https://github.com/BurntSushi/dotfiles

dotfiles's People

Contributors

casmith avatar

Watchers

 avatar

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.