Giter Site home page Giter Site logo

dotfiles's Introduction

dotfiles

My very own dotfiles (intended mostly for when I change computers)

Scripts

The scripts are just a copy of Holman's dotfiles scripts with a little modification from me.

Here's the important part of Holman's dotfiles scripts:

components

There's a few special files in the hierarchy.

  • bin/: Anything in bin/ will get added to your $PATH and be made available everywhere.
  • Brewfile: This is a list of applications for Homebrew Cask to install: things like Chrome and 1Password and Adium and stuff. Might want to edit this file before running any initial setup.
  • topic/*.zsh: Any files ending in .zsh get loaded into your environment.
  • topic/path.zsh: Any file named path.zsh is loaded first and is expected to setup $PATH or similar.
  • topic/completion.zsh: Any file named completion.zsh is loaded last and is expected to setup autocomplete.
  • topic/*.symlink: Any files ending in *.symlink get symlinked into your $HOME. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you run script/bootstrap.

I'm not claiming I did much except the addition of symfolder. The .symfolder extension lets you set a folder with that extension and everything inside of it will be symlinked to that dotfolder.

  • topic/*.symfolder: Any folder ending in *.symfolder get symlinked into your $HOME inside of that dotfolder. These get symlinked in when you run script/bootstrap.

    e.g.

    mutt.symfolder
    ﹂accounts
      ﹂account.account
    ﹂msmtprc

    This means that everything under mutt.symfolder will be symlinked to ~/.mutt/. Probably Holman`s script already works this way but I wanted to have a way to differentiate between files and folder contents.

===

After some refactoring I extracted some shared_functionality to its own script and then I'm must sourceing it where needed.

e.g.: LaunchAgents install script

Acknowledgments

dotfiles's People

Contributors

esttorhe avatar

Watchers

Paco avatar James Cloos 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.