Git Product home page Git Product logo

dotfiles-28's Introduction

Dotfiles

Colourful & robust macOS configuration files and utilities.

Installation is done with simple command set (see “building system from scratch” for setup of new system):

curl --silent https://raw.githubusercontent.com/paulmillr/dotfiles/master/install.sh | sh

Steps

  1. Create ~/Developer/
  2. Change default shell to ZSH: chsh -s /bin/zsh.
  3. Install XCode.
  4. Clone this project (dotfiles RECURSIVELY --recursive) and run sh bootstrap-new-system.sh
  5. Change Terminal.app theme to terminal/paulmillr.terminal (Settings -> Profiles -> Press gear -> Import).
  6. Don't forget to change the git user in home/.gitconfig. That's it!

Features

Shell (zsh):

  • NO DEPENDENCIES!
  • Auto-completion
  • Syntax highlighting
  • Automatic setting up of terminal tab / window title to current dir
  • rm moves file to the macOS trash
  • A bunch of useful functions:
    • extract archive.tar.bz — unpack any archive (supports many extensions)
    • ram safari — show app RAM usage
    • openfiles — real-time disk usage monitoring with dtrace.
    • loc py coffee js html css — count lines of code in current dir in a colourful way.
    • ff file-name-or-pattern - fast recursive search for a file name in directories.
    • curl http://site/v1/api.json | json - pretty-print JSON
    • aes-enc, aes-dec - safely encrypt files.
  • Neat git extras:
    • Opinionated git log, git graph
    • gcp for fast git commit -m ... && git push
    • git pr <pull-req> [origin] for fetching pull request branches
    • git cleanup — clean up merged git branches. Very useful if you’re doing github pull requests in topic branches.
    • git summary — outputs commit email statistics.
    • git release — save changes, tag commit. If used on node.js project, also push to npm.
    • git url - opens GitHub repo for current git repo.
    • git-changelog, git-setup etc.
  • homesick / homeshick-compatible

Structure

  • etc — various stuff like macOS text substitutions / hosts backup
  • git-extras — useful git functions, defined in home/gitconfig. Don't forget to change your git author to a proper name.
  • home — files that are symlinked to $HOME directory
  • sublime — sublime text theme & settings
  • terminal — terminal theme & prompt

Other

License

MIT (c) 2016 Paul Miller (https://paulmillr.com)

dotfiles-28's People

Contributors

paulmillr avatar kraigwalker avatar alanyee avatar janniks avatar flatspyder avatar sephvelut avatar

Watchers

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