Permalink
Browse files

nhs alias - now accepts command line args

created a branch alias for git and a sneaky, hacky way to view stats on
a git repo
  • Loading branch information...
1 parent eec37f9 commit b36496259a6d26048ad35abc2ed2f981f22bd76a @swmcc committed Nov 19, 2013
Showing with 4 additions and 1 deletion.
  1. +3 −0 git/.aliases
  2. +1 −1 pippin.swm.cc/.bashrc
View
@@ -8,4 +8,7 @@ alias gcm='git commit -m'
alias gco='git checkout'
alias gb='git branch'
alias gs='git status -sb'
+alias gsb="git branch -a"
alias grm="git status | grep deleted | awk '{print \$3}' | xargs git rm"
+alias gwho="git shortlog -s | sort -nr"
+
@@ -18,7 +18,7 @@ NO_COLOUR="\[\033[0m\]"
PS1="\[${RED}\]\t \[${GREEN}\]pippin:\[ ${GREEN}\]\W\[${NC}\]\[${YELLOW}\]\$(parse_git_branch) $NO_COLOUR\$ "
alias annoyances='ghi list'
alias phs="python -m SimpleHTTPServer"
-alias nhs="http-server"
+alias nhs='http-server -p $@'
alias dev='cd ~/Development/'
alias gdev='cd ~/Development/github/'
alias copy_ssh_key="cat ~/.ssh/id_rsa.pub | pbcopy | echo 'It be in your clipboard sonny!!'"

0 comments on commit b364962

Please sign in to comment.