Coder Social home page Coder Social logo

koerbcm / dotfiles-fork Goto Github PK

View Code? Open in Web Editor NEW

This project forked from holman/dotfiles

0.0 0.0 0.0 80.16 MB

megadotfiles

Home Page: http://twitter.com/megalithic

License: The Unlicense

AppleScript 0.46% Shell 57.65% Ruby 13.83% JavaScript 0.62% Perl 5.37% Vim Script 14.90% Lua 6.85% Python 0.30% Makefile 0.02%

dotfiles-fork's Introduction

megadots

Bits and bobs

I started off with a modified version of my own dotfiles, based on Holman's, but have slowly been updating it to be more akin to what Pengwynn and Yonk have built/modified.

Check theirs out, or many others at octodots.

screencap

Get your own

If you're new to dotfiles, this probably isn't the best starter repository for you. While these started as a clone of Holman's, many utilities are unique to my workflow. I recommend other dotfile frameworks out there.

Installation

If you want to kick the tires, then simply:

  • git clone https://github.com/megalithic/dotfiles.git ~/.dotfiles
  • cd ~/.dotfiles
  • setup/bootstrap

The install script will symlink the appropriate files in .dotfiles to your home directory. Everything is configured and tweaked within ~/.dotfiles, though. All files and folders ending in .symlink get, you guessed it, symlinked. For example: ~/.dotfiles/vim/vimrc.symlink gets symlinked to ~/.vimrc.

This also sets up things like homebrew if you're on a mac, and even allows for a private repository setup.

I highly recommend you dig into the scripts and configs to see what all is going on before you willy-nilly install a stranger's shell scripts. :)

Main elements

A few of the flavors I roll with:

  • Homebrew
  • Hammerspoon
  • 24-bit color patched version of tmux
  • Teamocil for automagic tmux layouts
  • Several shell scripts for getting the info I want on my tmux statusbar (take a gander at ~/.dotfiles/bin for tmux- prefixed scripts).
  • Font: Source Code Pro (patched with powerline, octicon, fontawesome glyphs)
  • iTerm2 colorscheme: base16-ocean dark
  • Neovim colorscheme: base16-ocean dark
  • Zsh prompt: a base of pure, with some modified VCS functionality (for super in-depth vcs status output).
  • Weechat

The file hierarchy:

  • bin/: Anything in bin/ will get added to your $PATH and be made available everywhere.
  • 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/*.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.
  • topic/*.completion.sh: Any files ending in completion.sh get loaded last so that they get loaded after we set up zsh autocomplete functions.

.localrc and sensitive data

Keep it secret, keep it safe

Use ~/.localrc as your location for sensitive information. Optionally, you can let setup/bootstrap handle the cloning of your private repo to ~/.dotfiles/private, which will execute an install script, assuming it's located at ~/.dotfiles/private/install.sh.

Handy references

Those that came before me

My original dotfiles and this revamped version began as a fork of (and is heavily inspired by) Zach Holman's dotfiles, whose topic-based symlinking approach makes this so easy.

I also have stolen freely from:

Share your dots

If you've got a great set of dots (or want to get started), check out dotfiles.github.com. Ping @octodots with great dot sets you've found or tips and tricks for your favorite tools. If you have any questions about my specific setup here, feel free to hit me up at @megalithic.

dotfiles-fork's People

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.