Merge pull request #61 from desandro/master

Remove personal aliases
pull/63/head
Mark Szymanski 2011-06-20 13:37:30 -07:00
commit 972d58f9c5
6 changed files with 4 additions and 21 deletions

View File

@ -46,15 +46,6 @@ alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'"
alias md='mkdir -p'
alias rd=rmdir
# show / hide hidden files
alias showhidden="defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder"
alias hidehidden="defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder"
# display IP address
alias myip="echo ethernet:; ipconfig getifaddr en0; echo wireless:; ipconfig getifaddr en1"
# http://snippets.dzone.com/posts/show/2486
alias killsvn="find . -name ".svn" -type d -exec rm -rf {} \;"
function aliases-help() {
echo "Generic Alias Usage"
echo

View File

@ -39,6 +39,8 @@ case $OSTYPE in
;;
esac
function git-help() {
echo "Git Custom Aliases Usage"
echo

View File

@ -18,6 +18,3 @@ alias buildsite="builtin cd $JEKYLL_LOCAL_ROOT && rm -rf _site/ && jekyll"
# Rsync the site to the remote server
alias deploysite="builtin cd $JEKYLL_LOCAL_ROOT && rsync -rz _site/ $JEKYLL_REMOTE_ROOT"
alias jkas="jekyll --auto --server"
alias rmjkas="rm -rf _site/* && jkas"

View File

@ -14,7 +14,6 @@ alias dashcode="open -a dashcode"
alias f='open -a Finder '
alias textedit='open -a TextEdit'
alias hex='open -a "Hex Fiend"'
alias gitx="open -a GitX"
if [ -s /usr/bin/firefox ] ; then
unalias firefox

View File

@ -5,13 +5,6 @@ function git_remote {
git remote add origin $GIT_HOSTING:$1.git
}
# git add remote branch
function garb() {
echo "Adding remote branch '$1'";
git config branch.$1.remote origin;
git config branch.$1.merge refs/heads/$1;
}
function git_first_push {
echo "Running: git push origin master:refs/heads/master"
git push origin master:refs/heads/master
@ -99,3 +92,4 @@ else
echo "you're currently not in a git repository"
fi
}

View File

@ -26,7 +26,7 @@ editpost() {
fi
}
jknewpost() {
newpost() {
# 'builtin cd' into the local jekyll root