Removed custom.bash and am now completely ignoring all files within the custom directory. Started de-macify to provide more support for linux (thanks to alsemyonov on github).

This commit is contained in:
Robert R Evans
2010-10-06 17:27:55 -07:00
parent a6d20e67fe
commit c9da086643
11 changed files with 51 additions and 18 deletions

View File

@@ -6,22 +6,22 @@ function ips {
function myip {
res=$(curl -s checkip.dyndns.org | grep -Eo '[0-9\.]+')
echo "Your public IP is: ${bold_green} $res ${normal}"
echo "Your public IP is: ${bold_green} $res ${normal}"
}
# View man documentation in Preview
pman () {
man -t "${1}" | open -f -a /Applications/Preview.app/
man -t "${1}" | open -f -a $PREVIEW
}
pcurl() {
curl "${1}" | open -f -a /Applications/Preview.app/
curl "${1}" | open -f -a $PREVIEW
}
pri() {
ri -T "${1}" | open -f -a /Applications/Preview.app/
ri -T "${1}" | open -f -a $PREVIEW
}

View File

@@ -18,3 +18,7 @@ function git_remove_missing_files() {
function local-ignore() {
echo "$1" >> .git/info/exclude
}
function gitignore() {
echo ".DS_Store" >> .gitignore
}

View File

@@ -1,4 +1,8 @@
#!/bin/bash
#
# The install directory is hard-coded. TOOD: allow the directory to be specified on the command line.
#
function rails_jquery {
curl -o public/javascripts/rails.js http://github.com/rails/jquery-ujs/raw/master/src/rails.js