Added dot-env plugin

Dot-env is a cross-platform, cascading Zsh environment system for those who work on different hardware and OS environments.

See: https://github.com/midwire/.env
This commit is contained in:
Chris Blackburn 2012-01-21 19:12:38 -06:00
commit ae2db75f3e
20 changed files with 629 additions and 0 deletions

View file

@ -0,0 +1,4 @@
# Solaris Environment Aliases
# Editing and Sourcing aliases
alias ees='. ~/.env/source.sh'

View file

@ -0,0 +1,13 @@
function rgrep {
if [[ $# -lt 1 ]]; then
echo "Usage: rgrep PATTERN [PATH]"
return
fi
pattern="$1"
if [[ -z "$2" ]]; then
path=`pwd`
else
path="$2"
fi
find -L "$path"|xargs grep "$pattern"
}