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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -18,3 +18,7 @@ function git_remove_missing_files() {
|
||||
function local-ignore() {
|
||||
echo "$1" >> .git/info/exclude
|
||||
}
|
||||
|
||||
function gitignore() {
|
||||
echo ".DS_Store" >> .gitignore
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user