Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
## WARNING: YOUR ~/.m2 (local maven repository) WILL BE
## BROKEN UNLESS YOU MAKE A COPY OF IT.
## remove ~/.m2 if in doubt
# mv ~/.m2 "$HOME/.m2-$(date -R)"
# or just: rm -Rf ~/.m2
## install leiningen from git
@gilaras
gilaras / gist:159792
Created August 1, 2009 20:09
/usr/libexec/path_helper
#!/bin/sh
#
# Each line of the text files in /etc/paths.d are directories that
# should be added to the current path. The text files are read in
# lexical order, and the default file is /etc/paths.d/50-default.
# We source /etc/paths.d/50-default first, so that the default paths
# (/usr/bin:/bin:/usr/sbin:/sbin) appear early in the path.
#
shopt -s extglob