Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: patrickward/dotfiles
base: 6911355f60
...
head fork: patrickward/dotfiles
compare: 71f3d94239
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 15 additions and 11 deletions.
  1. +9 −6 zsh/aliases
  2. +6 −5 zsh/config
View
15 zsh/aliases
@@ -1,4 +1,4 @@
-# cd
+# cd
alias ..="cd .."
# Utility
@@ -9,32 +9,35 @@ alias ea="mate -w ~/bin/dotfiles/zsh/aliases && reload" # Edit aliases
alias tu="top -o cpu" # sort by cpu
alias tm="top -o vsize" # sort by memory
-# listing files
+# listing files
alias ls="ls -F"
alias l="ls -lAh"
alias ll="ls -l"
alias la="ls -A"
# git
-alias gs="git status --ignore-submodules"
+alias gs="git status --short --ignore-submodules"
alias gl="git pull"
alias gp="git push"
alias gd="git diff | mvim -"
alias gc="git commit -v"
# alias gca="git commit -v -a"
alias gco="git checkout"
-alias gcb="git checkout -b"
+alias gcb="git checkout -b"
alias gb="git branch"
alias gba="git branch -a"
# Use Bundle Exec
alias be='bundle exec'
-# todo.txt
+# todo.txt
alias t="todo.sh -d $HOME/bin/dotfiles/bin/.todo.cfg"
# bundle exec
alias be='bundle exec'
-# Find common commands you've recently used
+# get my ip address
+alias whatismyip='curl http://automation.whatismyip.com/n09230945.asp'
+
+# Find common commands you've recently used
# history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
View
11 zsh/config
@@ -1,4 +1,4 @@
-# For color codes, see the colors.markdown file
+# For color codes, see the colors.markdown file
if [[ -n $SSH_CONNECTION ]]; then
# export PS1='%m:%3~$(git_info_for_prompt)%# '
PS1=$'\n%{\e[1;32m%}%m:%3~ $(git_info_for_prompt)%{\e[0m%} \n%# '
@@ -18,18 +18,19 @@ export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/pgsq
# MacPorts Installer addition
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
-# Add dotfiles/bin directory
+# Add dotfiles/bin directory
export PATH="$HOME/bin/dotfiles/bin:$PATH"
# Add node path
-export PATH="$HOME/local/node/bin:$PATH"
+# export PATH="$HOME/local/node/bin:$PATH"
# Prepend the home directory before everything
export PATH="$HOME/bin:$PATH"
-# Adding NODE_PATH for npm and node scripting (e.g. coffee-script)
-export NODE_PATH="/Users/patrick_ward/local/node/lib/node_modules"
+# Adding NODE_PATH for npm and node scripting (e.g. coffee-script)
+# export NODE_PATH="/Users/patrick_ward/local/node/lib/node_modules"
+export NODE_PATH="/usr/local/lib/node_modules"
# Adding RVM (ruby version manager)
# if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi

No commit comments for this range

Something went wrong with that request. Please try again.