GithubHelp home page GithubHelp logo

netj / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
54.0 5.0 10.0 1.36 MB

netj's dotfiles

License: Other

Shell 52.45% Emacs Lisp 1.43% Makefile 6.03% Perl 2.04% AppleScript 20.46% Python 1.00% CSS 0.36% JavaScript 0.46% Vim Script 15.77%

dotfiles's Introduction

netj's dotfiles

Installation

Run the following command and press y for the files you want to install:

bash <(u=git.io/netj.files; curl -fsSL $u || wget -nv -O- $u)

It clones the git repo to ~/.dotfiles, installs chosen dotfiles as symlinks pointing inside the repo, then runs a new login shell. Existing dotfiles will be backed up with names ending with ~. Make sure you have Git and curl or Wget on your system. When run on a Debian-based OS in the cloud, such as AWS EC2, Git will be automatically installed and other essential packages related to the dotfiles will be suggested for installation.

Trying out

If you want to simply explore what my dotfiles do, setting a temporary path for HOME does the job:

HOME=/tmp/home  bash <(u=git.io/netj.files; curl -fsSL $u || wget -nv -O- $u)

Notes

  • There are more good stuffs under Fonts/ and Mac/.

  • Put any of your per-machine/per-account tweaks in a .*_local file. For example,

    • .bash_local for declaring aliases, adjusting PATH, or exporting environment variables.
    • .vim_local for any local Vim configuration customization.
    • .tmux_local for any local TMUX tweaks, e.g., wrapping the default-command with reattach-to-user-namespace in OS X.
  • You can run following commands later to stay up-to-date:

      cd ~/.dotfiles
      git pull
      ./install
    
  • If you want to send me your modifications, please put them up in your GitHub fork and send me a pull request at my repo.

  • I use a zlib/libpng style license. Consult the COPYRIGHT file for more information on using these files.

Warning

  • Use entirely at your own risk -- no warranty is expressed or implied.
  • Playing around with your dotfiles is a very time consuming activity.

~netj

dotfiles's People

Contributors

netj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dotfiles's Issues

how to incorporate git branch into bash terminal

I want to have git branch information but if I write the below code to the bash_local, I lose the original setting. How do I keep the original setting and incorporate the following code? The below code is from "software carpentry".

Set the prompt to show the current git branch:

function parse_git_branch {
ref=$(git symbolic-ref HEAD 2> /dev/null) || return
echo "("${ref#refs/heads/}")"
}

PS1="\h:\W$RED $(parse_git_branch)$NO_COLOR $"

Issues with perform action line in 10.10

I keep getting an error under OS X 10.10 with this line:
perform action "AXShowMenu" of toolbar 1 of menu bar item "View" of window 1

Error:
System Events got an error: Can't get group 2 of window 1 of application process "Safari". Invalid index.

Know why?

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.