Giter Site home page Giter Site logo

micahelliott / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 3.0 1.13 MB

Config and mini-scripts tuned for vim, zsh, i3, urxvt, repls, etc

R 0.83% Shell 37.50% Ruby 0.66% Python 16.46% Awk 0.11% CoffeeScript 0.03% C 0.04% C++ 0.10% LiveScript 0.01% Perl 3.72% DIGITAL Command Language 0.07% AGS Script 0.02% Makefile 0.12% HTML 0.09% Racket 0.02% Clojure 0.36% Vim Snippet 1.22% Pug 0.09% Vim Script 38.59%

dotfiles's Introduction

Dotfiles (slightly specific to MicahElliott, but reusable/customizable)

Most interesting areas:

  • zsh (.zshrc top level control and file hierarchy)
  • config (misc)
  • bin scripts (add your own if not gists)

Notable features:

  • Many handy settings, aliases, functions, completions, prompts, colors, etc

  • Designates some standard dirs (via .gitignores)

  • Separates own dotfiles (~/config) from tool-installed (~/.* and ~/.config) via symlinks; e.g., ~/.vimrc -> ~/config/vimrc

  • Provides dotfiles script (and several d* aliases) as a proxy for git

  • Time-able and fast

  • Multi-shell capable; back-compatible with bash (somewhat, should be made so)

Setup

  1. Move your own config files temporarily into a scratch area

     cd ~
     mkdir ~/tmp
     mv .bash* .zsh* tmp
    
  2. Install Zsh and make sure it's your default shell

     chsh -s /usr/bin/zsh
    
  3. Sign in to github and fork this repo to make your own which you can modify

  4. Clone and set up for repo.

     git clone [email protected]:YOU/dotfiles.git ~/.dotfiles.git
     mv .dotfiles.git/.* .dotfiles.git/* .
     mv .git .dotfiles.git/
    
  5. Try it out! (lots of dotfiles aliases, like dst, dci, etc)

     exec zsh
     alias dotfiles
     dotfiles «tab»
    

There are still vim (via vundle) and gist files to grab. I'll clean this up if someone requests.

You can also use the included binstubs.zsh to create a single bin/ for your gists.

Layout

*  README.md -- this file
*  bin       -- small (usually standalone) scripts that I have written
*  config    -- VCS-manageable, user-written CONFIGuration (mostly dot-files)
*  contrib   -- other people's scripts that need to be under my control
*  doc       -- text DOCuments I write, books, presentations, personal logs
*  etc       -- system-specific symlinks to important sytem ETC files
*  test      --
+  proj      -- PROJects (or *any* code) I'm working on
+  client    -- work done for development/consulting CLIENTs
^  archive   -- tarballs, extracts, checkouts
^  art       -- anything related to graphics; binary so not in VCS
^  exp       -- small-scale code/tests I'm working on only EXPerimentally
^  data      -- generated, machine-specific config DATA files
^  log       -- holds LOGs: installs, runs, reports
^  Documents -- binary DOCUMENTS, books, presentations
^  Books     -- EPUBs to be shared with other devices
^  Mail      -- all the mutt-managed MAIL
^  Music     -- songs, podcasts, etc
^  Photos    -- still shots (most mirrored to Flickr)
^  Videos    -- VIDEOS, screencasts (mirror to vimeo/viddler?)
!  local     -- my LOCAL install tree (... --prefix=~/local)
!  outgoing  -- temp queue for things (forSOMEONE.tgz) sent to others
!  tmp       -- a manual trash can
!  Downloads -- temp holding area
&  .config   -- system tools dump settings here
&  .local    -- system tools dump things here
&  .*        -- 100s more dot-files/dirs not worth tracking or listing here

Key:  * = $HOME-VCS-managed;         ^ = symlink-mirrored, not suited for VCS;
      + = individually VCS-managed;  ! = lose-able;
      & = used by system

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.