<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitmodules</filename>
    </added>
    <added>
      <filename>fish/bin/edit_gem</filename>
    </added>
    <added>
      <filename>fish/bin/gem_doc</filename>
    </added>
    <added>
      <filename>fish/bin/parse_db_yml</filename>
    </added>
    <added>
      <filename>fish/completions/cap.fish</filename>
    </added>
    <added>
      <filename>fish/completions/cdgem.fish</filename>
    </added>
    <added>
      <filename>fish/completions/createdb.fish</filename>
    </added>
    <added>
      <filename>fish/completions/cucumber.fish</filename>
    </added>
    <added>
      <filename>fish/completions/dropdb.fish</filename>
    </added>
    <added>
      <filename>fish/completions/edit_gem.fish</filename>
    </added>
    <added>
      <filename>fish/completions/gem_doc.fish</filename>
    </added>
    <added>
      <filename>fish/completions/git-svn.fish</filename>
    </added>
    <added>
      <filename>fish/completions/git.fish</filename>
    </added>
    <added>
      <filename>fish/completions/pg_dump.fish</filename>
    </added>
    <added>
      <filename>fish/completions/psql.fish</filename>
    </added>
    <added>
      <filename>fish/completions/rake.fish</filename>
    </added>
    <added>
      <filename>fish/completions/rcd.fish</filename>
    </added>
    <added>
      <filename>fish/completions/rmate.fish</filename>
    </added>
    <added>
      <filename>fish/config.fish</filename>
    </added>
    <added>
      <filename>fish/functions/__completion_cache_path.fish</filename>
    </added>
    <added>
      <filename>fish/functions/__db_list.fish</filename>
    </added>
    <added>
      <filename>fish/functions/__db_list_pg.fish</filename>
    </added>
    <added>
      <filename>fish/functions/__db_list_web.fish</filename>
    </added>
    <added>
      <filename>fish/functions/__detect_webapp.fish</filename>
    </added>
    <added>
      <filename>fish/functions/__sinatra_app.fish</filename>
    </added>
    <added>
      <filename>fish/functions/c.fish</filename>
    </added>
    <added>
      <filename>fish/functions/cdgem.fish</filename>
    </added>
    <added>
      <filename>fish/functions/clean_rake_cache.fish</filename>
    </added>
    <added>
      <filename>fish/functions/confirm.fish</filename>
    </added>
    <added>
      <filename>fish/functions/deplol.fish</filename>
    </added>
    <added>
      <filename>fish/functions/eprof.fish</filename>
    </added>
    <added>
      <filename>fish/functions/fish_prompt.fish</filename>
    </added>
    <added>
      <filename>fish/functions/fish_title.fish</filename>
    </added>
    <added>
      <filename>fish/functions/ga.fish</filename>
    </added>
    <added>
      <filename>fish/functions/gau</filename>
    </added>
    <added>
      <filename>fish/functions/gc.fish</filename>
    </added>
    <added>
      <filename>fish/functions/gca.fish</filename>
    </added>
    <added>
      <filename>fish/functions/gco.fish</filename>
    </added>
    <added>
      <filename>fish/functions/gd.fish</filename>
    </added>
    <added>
      <filename>fish/functions/gdc..fish</filename>
    </added>
    <added>
      <filename>fish/functions/gdc.fish</filename>
    </added>
    <added>
      <filename>fish/functions/git_cwd_info.fish</filename>
    </added>
    <added>
      <filename>fish/functions/git_dirty.fish</filename>
    </added>
    <added>
      <filename>fish/functions/git_dirty_files_count.fish</filename>
    </added>
    <added>
      <filename>fish/functions/git_parse_branch.fish</filename>
    </added>
    <added>
      <filename>fish/functions/gl.fish</filename>
    </added>
    <added>
      <filename>fish/functions/glc.fish</filename>
    </added>
    <added>
      <filename>fish/functions/glcg.fish</filename>
    </added>
    <added>
      <filename>fish/functions/glp.fish</filename>
    </added>
    <added>
      <filename>fish/functions/gps.fish</filename>
    </added>
    <added>
      <filename>fish/functions/gst.fish</filename>
    </added>
    <added>
      <filename>fish/functions/log.fish</filename>
    </added>
    <added>
      <filename>fish/functions/m.fish</filename>
    </added>
    <added>
      <filename>fish/functions/migrate.fish</filename>
    </added>
    <added>
      <filename>fish/functions/migration.fish</filename>
    </added>
    <added>
      <filename>fish/functions/mysqlbackup.fish</filename>
    </added>
    <added>
      <filename>fish/functions/netpid.fish</filename>
    </added>
    <added>
      <filename>fish/functions/new_function.fish</filename>
    </added>
    <added>
      <filename>fish/functions/rcd.fish</filename>
    </added>
    <added>
      <filename>fish/functions/rdir.fish</filename>
    </added>
    <added>
      <filename>fish/functions/rmate.fish</filename>
    </added>
    <added>
      <filename>fish/functions/s.fish</filename>
    </added>
    <added>
      <filename>fish/functions/save.fish</filename>
    </added>
    <added>
      <filename>fish/functions/sc.fish</filename>
    </added>
    <added>
      <filename>fish/functions/ss.fish</filename>
    </added>
    <added>
      <filename>fish/functions/sshkey.fish</filename>
    </added>
    <added>
      <filename>fish/functions/tigs.fish</filename>
    </added>
    <added>
      <filename>fish/functions/vi.fish</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
 alias gem='sudo gem' # sick of always forgetting sudo
-alias ls='ls -G'
+alias ls='ls -FG'
 alias ll='ls -lah'
 alias ..='cd ..;' # can then do .. .. .. to move up multiple directories.
 alias ...='.. ..'
@@ -7,14 +7,18 @@ alias g='grep -i'  #case insensitive grep
 alias h='history|g'
 alias ducks='du -cks * | sort -rn|head -11' # Lists the size of all the folders
 alias top='top -o cpu'
-alias systail='tail -f /var/log/system.log'
 alias m='mate .'
 alias o='open .'
 alias et=&quot;m&quot;
 
 alias home='cd ~' # the tilda is too hard to reach
+alias systail='tail -f -n0 /var/log/system.log'
+alias aptail='tail -f -n0 /var/log/apache*/*log'
+alias l='ls'
+alias b='cd -'
+
 alias c='clear' # shortcut to clear your terminal
-alias eprof='mate ~/.dot-files'
+
 alias sprof='source ~/.bash_profile'
 
 # useful command to find what you should be aliasing:
@@ -30,25 +34,58 @@ alias controller='script/generate controller'
 alias migration='script/generate migration'
 alias migrate='rake db:migrate'
 alias rollback='rake db:rollback'
+alias r='rake'
+alias webshare='python -c &quot;import SimpleHTTPServer;SimpleHTTPServer.test()&quot;'
 
-alias startpg='sudo /Library/StartupItems/PostgreSQL/PostgreSQL start'
+alias pubkey='cat ~/.ssh/*.pub'
 
 # replacement netstat cmd to find ports used by apps on OS X
 alias netstat=&quot;sudo lsof -i -P&quot;
 
-alias hidefile='/usr/bin/SetFile -a &quot;V&quot;'
-alias showfile='/usr/bin/SetFile -a &quot;v&quot;'
-
 alias colorslist=&quot;set | egrep 'COLOR_\w*'&quot;  # lists all the colors
 
 function f() { find * -name $1; }
 
-function manpdf() { man -t $@ | open -f -a Preview; }
+function extract() {
+    if [ -f $1 ] ; then
+        case $1 in
+            *.tar.bz2)   tar xvjf $1        ;;
+            *.tar.gz)    tar xvzf $1     ;;
+            *.bz2)       bunzip2 $1       ;;
+            *.rar)       unrar x $1     ;;
+            *.gz)        gunzip $1     ;;
+            *.tar)       tar xvf $1        ;;
+            *.tbz2)      tar xvjf $1      ;;
+            *.tgz)       tar xvzf $1       ;;
+            *.zip)       unzip $1     ;;
+            *.Z)         uncompress $1  ;;
+            *.7z)        7z x $1    ;;
+            *)           echo &quot;'$1' cannot be extracted via &gt;extract&lt;&quot; ;;
+        esac
+    else
+        echo &quot;'$1' is not a valid file&quot;
+    fi
+}
 
-function osinfo() { 
-   x1=&quot;$(/usr/bin/sw_vers -productName)&quot;
-   x2=&quot;$(/usr/bin/sw_vers -productVersion)&quot;
-   x3=&quot;$(/usr/bin/sw_vers -buildVersion)&quot;
-   x4=&quot;$(/usr/bin/arch)&quot;
-   echo &quot;${x1} - ${x2} - ${x3} - ${x4}&quot;
-}
\ No newline at end of file
+if [ $system_name == 'Darwin' ]; then
+  function manpdf() { man -t $@ | open -f -a Preview; }
+  function osinfo() { 
+     x1=&quot;$(/usr/bin/sw_vers -productName)&quot;
+     x2=&quot;$(/usr/bin/sw_vers -productVersion)&quot;
+     x3=&quot;$(/usr/bin/sw_vers -buildVersion)&quot;
+     x4=&quot;$(/usr/bin/arch)&quot;
+     echo &quot;${x1} - ${x2} - ${x3} - ${x4}&quot;
+  }
+  alias ls='ls -G'
+  alias pubkey='cat ~/.ssh/*.pub | pbcopy &amp;&amp; echo &quot;Keys copied to clipboard&quot;'
+  alias m='mate .'
+  alias et=&quot;m&quot;
+  alias o='open .'
+  alias eprof=&quot;mate ~/.dot-files&quot;
+  alias hidefile='/usr/bin/SetFile -a &quot;V&quot;'
+  alias showfile='/usr/bin/SetFile -a &quot;v&quot;'
+  alias startpg='sudo /Library/StartupItems/PostgreSQL/PostgreSQL start'
+  alias readrails=&quot;mate `ruby -rubygems -e &quot;puts( ['rails', 'activerecord', 'activeresource', 'actionpack', 'activesupport'].collect { |gem| gems = Gem.source_index.find_name(gem); gems.last.full_gem_path; }.join(' '))&quot;`&quot;
+else
+  alias ls='ls --color=auto'
+fi</diff>
      <filename>aliases</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,24 @@
+system_name=`uname -s` # Sets 'Darwin' or 'Linux' etc
+
 source ~/.exports
-# source ~/.bash_completion
 source ~/.gitrc
-source ~/.gemdoc
 source ~/.aliases
-source ~/.terminal
 source ~/.save-directory
 
-export PS1='$(__git_ps1 &quot;\[${COLOR_RED}\](%s)\[${COLOR_NC}\] &quot;)\$ '
+if [ $system_name == 'Darwin' ]; then
+  source ~/.gemdoc
+  source ~/.terminal
+else
+  if [ -f /etc/bash_completion ]; then
+      . /etc/bash_completion
+  fi
+fi
+
+export PS1=' [`pwd`$(__git_ps1 &quot; \[${COLOR_RED}\](%s)\[${COLOR_NC}\]&quot;)]\n$ '
+
+function __pair_status {
+  hitchstatus &quot; %s&quot;;
+}
 
 # readline settings
 bind &quot;set completion-ignore-case on&quot; 
@@ -15,5 +27,6 @@ bind &quot;set show-all-if-ambiguous On&quot; # this allows you to automatically show comp
 
 shopt -s checkwinsize
 shopt -s histappend
+shopt -s globstar
 
-complete -C ~/.rake-completion.rb -o default rake
\ No newline at end of file
+complete -C ~/.rake-completion.rb -o default rake}</diff>
      <filename>bashrc</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,23 @@
-export PATH=&quot;/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/:$PATH&quot;
-export PATH=&quot;/Library/PostgreSQL8/bin/:$PATH&quot;     
+if [ $system_name == 'Darwin' ]; then
+  export EDITOR='mate -w'
+  export PATH=&quot;/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/:$PATH&quot;
+  export PATH=&quot;/Library/PostgreSQL8/bin/:$PATH&quot;
+  export CDPATH='.:~:~/Projecs:~/Sites'
+  export GEM_OPEN_EDITOR='mate'
+else  
+  export EDITOR='nano -w'
+fi
+
 export PATH=&quot;/usr/local/mysql/bin/:$PATH&quot;
-export PATH=/opt/local/bin:/opt/local/sbin:$PATH
+export PATH=&quot;/opt/local/bin:/opt/local/sbin:$PATH&quot;
+export PATH=&quot;$PATH:/usr/local/jruby/bin&quot;
+
+
 export IRBRC=&quot;$HOME/.irbrc&quot;
 
+export GIT_EDITOR=$EDITOR
+export VISUAL=$EDITOR
+
 export COLOR_NC='\e[0m' # No Color
 export COLOR_WHITE='\e[1;37m'
 export COLOR_BLACK='\e[0;30m'
@@ -25,14 +39,10 @@ export COLOR_LIGHT_GRAY='\e[0;37m'
 export TERM=xterm-color
 export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32'
 export CLICOLOR=1
-export EDITOR='mate -w'
-export GIT_EDITOR=$EDITOR
-export VISUAL=$EDITOR
 
 # sets title of window to be user@host
 export PROMPT_COMMAND='echo -ne &quot;\033]0;${USER}@${HOSTNAME%%.*} ${PWD}&quot;; echo -ne &quot;\007&quot;'
 
-export BASH_COMPLETION='~/.bash_completion'
-
 # export HISTCONTROL=erasedups # I actually want duplicates because of profileme
-export HISTSIZE=1000000
\ No newline at end of file
+export HISTSIZE=1000000
+</diff>
      <filename>exports</filename>
    </modified>
    <modified>
      <diff>@@ -1,10 +1,10 @@
 --- 
+:benchmark: false
 :gem: --no-ri --no-rdoc
 :verbose: true
 :update_sources: true
+:bulk_threshold: 1000
+:backtrace: false
 :sources: 
 - http://gems.rubyforge.org/
 - http://gems.github.com/
-:backtrace: false
-:bulk_threshold: 1000
-:benchmark: false</diff>
      <filename>gemrc</filename>
    </modified>
    <modified>
      <diff>@@ -20,3 +20,12 @@
   excludesfile = ~/.gitignore
 	whitespace = fix
 
+[github]
+	user = bjeanes
+	token = df574517df9e5cef449ff0010fdce8b6
+[push]
+	default = matching
+[codebase]
+	username = bjeanes
+	domain = mocra.codebasehq.com
+	apikey = 5f1pkluckqk82ip9if8jomfbfxi38ofbn2keiata</diff>
      <filename>gitconfig</filename>
    </modified>
    <modified>
      <diff>@@ -8,4 +8,49 @@ pkg/*
 *.move1v3
 *~
 log/*
-tmp/**/*
\ No newline at end of file
+tmp/**/*
+# use glob syntax.
+syntax: glob
+*.ser
+*.class
+*~
+*.bak
+*.off
+*.old
+.DS_Store
+ 
+# logs
+derby.log
+ 
+# eclipse conf file
+.settings
+.classpath
+.project
+.manager
+ 
+# building
+target
+build
+null
+tmp*
+temp*
+dist
+test-output
+ 
+# other scm
+.svn
+.CVS
+.hg*
+ 
+# switch to regexp syntax.
+#  syntax: regexp
+#  ^\.pc/
+ 
+ 
+# IntelliJ
+*.iml
+*.ipr
+*.iws
+
+# Rubymine
+.idea
\ No newline at end of file</diff>
      <filename>gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,10 +1,11 @@
-# require 'wirble'
+require 'pp'
 require 'rubygems'
 require 'wirble'
 
 Wirble.init(:history_size =&gt; 10000)
 Wirble.colorize
 
+=begin
 Wirble::Colorize.colors = {
   # delimiter colors
   :comma              =&gt; :white,
@@ -38,6 +39,7 @@ Wirble::Colorize.colors = {
   :class              =&gt; :red,
   :range              =&gt; :light_blue,
 }
+=end
 
 class Object
   # Return a list of methods defined locally for a particular object.  Useful
@@ -46,4 +48,10 @@ class Object
   def local_methods(obj = self)
     (obj.methods - obj.class.superclass.instance_methods).sort
   end
-end
\ No newline at end of file
+end
+
+# Log to STDOUT if in Rails
+if ENV.include?('RAILS_ENV') &amp;&amp; !Object.const_defined?('RAILS_DEFAULT_LOGGER')
+  require 'logger'
+  RAILS_DEFAULT_LOGGER = Logger.new(STDOUT)
+end</diff>
      <filename>irbrc</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,8 @@
 # From http://codesnippets.joyent.com/posts/show/1516
 
+declare -x PROMPT_COMMAND='printf &quot;\e]0;$(/bin/pwd | /usr/bin/tr -d &quot;[[:cntrl:]]&quot;) \a&quot;'
+
+
 # Minimise terminal window to Dock
 function mintw() { printf &quot;\e[2t&quot;; return 0; }
 
@@ -48,12 +51,6 @@ function maxr() { printf &quot;\e[3;0;0;t\e[8;0;100t&quot;; /usr/bin/clear; return 0; }
 # show number of lines &amp; columns
 function lc() { printf &quot;lines: $(/usr/bin/tput lines)\ncolums: $(/usr/bin/tput cols)\n&quot;; return 0; }
 
-unset -v TITLE PROMPT_COMMAND
-declare -x TITLE=&quot;Terminal&quot;
-declare -x PROMPT_COMMAND='printf &quot;\e]0;${TITLE}\a&quot;'
-
-function title() { declare -x TITLE=&quot;$@&quot;; }
-
 # open a new Terminal window in same location as current directory
 unset -f newin
 function newin() {</diff>
      <filename>terminal</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8eccc2c17229cf676c32799f31a306e807b321f3</id>
    </parent>
    <parent>
      <id>4f41f9279a4e6891674cb0e1d6f5cc87026cab35</id>
    </parent>
  </parents>
  <author>
    <name>Bodaniel Jeanes</name>
    <email>me@bjeanes.com</email>
  </author>
  <url>http://github.com/bjeanes/dot-files/commit/92adb0a28979b1cf11129284a5a6e8de836ed06c</url>
  <id>92adb0a28979b1cf11129284a5a6e8de836ed06c</id>
  <committed-date>2009-06-12T18:48:28-07:00</committed-date>
  <authored-date>2009-06-12T18:48:28-07:00</authored-date>
  <message>Merge branch 'master' of git@github.com:bjeanes/dot-files

* 'master' of git@github.com:bjeanes/dot-files:
  More fish config
  Renamed a lot of @ben_h's git aliases to the ones used at the office
  Added stuff from fish-nuggets and changed behaviour of a few
  Fish configuration from benhoskings
  Lots of changes over last few weeks
  the colorize option for ls is different on linux and darwin
  Reorganising slightly to hopefully work on Linux

Conflicts:
	aliases</message>
  <tree>2bcec4a0fef0abd05b5cafb9a1c80dcdea139a44</tree>
  <committer>
    <name>Bodaniel Jeanes</name>
    <email>me@bjeanes.com</email>
  </committer>
</commit>
