Permalink
Browse files

First changes, threw out a number of files I don't need.

  • Loading branch information...
1 parent 06ed7a9 commit 07b410bb8e1c5792e4d2db6dca112470d031cf86 @carlo committed Feb 17, 2009
Showing with 34 additions and 74 deletions.
  1. +0 −3 .pylintrc
  2. +3 −1 .vimrc
  3. +7 −15 README.markdown
  4. +0 −7 bin/fab
  5. +0 −28 bin/vm
  6. +1 −3 etc/bash/host/{coopers → Cortana}
  7. +3 −0 etc/bash/host/Rupert
  8. +2 −0 etc/bash/host/charpool
  9. +8 −7 etc/bash/os/Darwin
  10. +1 −7 etc/bash/os/Linux
  11. +3 −3 etc/bash/prompt
  12. +6 −0 etc/bash/rc/ruby
View
@@ -1,3 +0,0 @@
-[MESSAGES CONTROL]
-# turn off long line warnings
-disable-msg=C0301
View
4 .vimrc
@@ -11,7 +11,9 @@ endif
set nomodeline
set showmatch
set title
-set noautoindent
+set cindent
+set number
+set autoindent
set nosmartindent
" i18n friendly
View
@@ -1,20 +1,12 @@
-home directory
-==============
+# home directory
-Files from my home directory (work, laptop and shared hosting) which
-are open to anyone to investigate and learn from.
+Files from my home directory (work, laptop and shared hosting). Forked from
+[Brad](http://github.com/bradleywright/homedir/tree) who forked it from
+[Norm](http://github.com/norm/homedir/tree). Thanks to both of them.
-Philosophy
-----------
-There have been countless times in my life that I've learned something
-new (whether it is a programming technique, time saving shortcut, or just
-a random useful tip) from seeing people's "secret software". I figured I'd
-share mine too.
-
-See also
---------
-* http://www.jwz.org/hacks/marginal.html
-* http://simon-cozens.org/programmer/secret-software.html
+## The Idea
+One homedir git repo for all my machines. Depending on OS and machine, different
+files are used and executed.
View
@@ -1,7 +0,0 @@
-#!/usr/bin/env python
-
-try:
- import fabric
- fabric.main()
-except ImportError:
- pass
View
28 bin/vm
@@ -1,28 +0,0 @@
-# ~/bin/vm
-#
-# Shortcut to VMWare tools for starting and stopping headless VMs
-# (I got tired of opening the VMWare Fusion application every time)
-
-# TODO:
-# * Show running VMs and enable stopping
-# * Check VMWare exists and exit if it doesn't (cross-platform)
-
-VM_DIR="${HOME}/Documents/Virtual Machines.localized"
-START_VM="/Library/Application Support/VMware Fusion/vmrun"
-VMS=`find "${VM_DIR}" -name "*.vmwarevm" | grep -v 'Win'`
-
-# path separators so I can use spaces in filenames
-OLD_IFS=${IFS}; IFS="
-"
-
-echo "Choose a non-Windows VM to start:"
-select opt in $VMS ; do
- # run file
- `"${START_VM}" start "${opt}" nogui`
- # repair IFS
- IFS=${OLD_IFS}
- exit 0
-done
-
-IFS=${OLD_IFS}
-exit 1
@@ -1,5 +1,3 @@
-# ~/etc/bash/host/coopers
+# ~/etc/bash/host/Cortana
[ -x ${HOME}/bin/textmate ] && export VISUAL="${HOME}/bin/textmate"
-
-export TM_PYCHECKER=pylint
View
@@ -0,0 +1,3 @@
+# ~/etc/bash/host/Rupert
+
+[ -x ${HOME}/bin/textmate ] && export VISUAL="${HOME}/bin/textmate"
View
@@ -0,0 +1,2 @@
+# ~/etc/bash/host/charpool
+
View
@@ -10,22 +10,23 @@ export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home"
hostname=`scutil --get LocalHostName`
-# Load personal Python libraries specific to version available
-PYTHON_VERSION=`python -c "import sys; print sys.version" | sed -E 's/^([0-9]\.[0-9])(.*)/\1/g' | grep -v '\['`
-[ -x "${HOME}/Library/Python/${PYTHON_VERSION}/site-packages" ] && export PYTHONPATH="${HOME}/Library/Python/${PYTHON_VERSION}/site-packages"
-
-
# pretty colours in BSD style
export LSCOLORS=dxfxcxdxbxegedabagacad
alias ls='ls -FG'
+# Locale
+export LC_ALL=de_DE.UTF-8
+
+
# MySQL path on OS X
[ -x /usr/local/mysql/bin ] && PATH="/usr/local/mysql/bin:${PATH}"
# MacPorts stuff - currently compiled to /usr/local/ports
-[ -x /usr/local/ports/bin ] && PATH="/usr/local/ports/bin:${PATH}"
+[ -x /usr/local/ports/bin ] && PATH="/usr/local/ports/bin:${PATH}"
+
# manpath is currently only edited here, so just export it
-[ -x /usr/local/ports/share/man ] && export MANPATH="/usr/local/ports/share/man:${MANPATH}"
+[ -x /usr/local/ports/share/man ] && export MANPATH="/usr/local/ports/share/man:${MANPATH}"
+
View
@@ -3,15 +3,9 @@
# bash startup commands specifically for Linux boxes
-# Load personal Python libraries specific to version available
-# sys.version prints: X.Y.Z (revision)\n[BUILD], so just keep the first bits
-PYTHON_VERSION=`python -c "import sys; print sys.version" | sed -r 's/^([0-9]\.[0-9])(.*)/\1/g' | grep -v '\['`
-[ -x "${HOME}/lib/python${PYTHON_VERSION}/site-packages" ] && export PYTHONPATH="${HOME}/lib/python${PYTHON_VERSION}/site-packages"
-
-
# pretty colours in GNU style
export LS_COLORS='di=93:fi=0:ln=36:pi=5:so=95:bd=5:cd=5:or=31:mi=31:ex=32:tw=36:ow=36'
# Instead of -G use --color
-alias ls='ls -F --color'
+alias ls='ls -F --color'
View
@@ -4,11 +4,11 @@
case $HOST in
- coopers*|boags*)
+ Rupert*|Cortana*)
# fork when not at home
PS1="${pgreen}${HOST}${preset}"
;;
- intranation*)
+ charpool*)
# live hostname
PS1="${pbgred}${HOST}${preset}"
;;
@@ -21,7 +21,7 @@ PS1="${PS1} ${pyellow}\w${preset}"
# if not my regular user, show username
-[ $USER != 'bradleyw' ] && PS1="${pred}\u${preset}@${PS1}"
+[ $USER != 'Carlo' ] && PS1="${pred}\u${preset}@${PS1}"
# if we can edit the title of the terminal, do so
View
@@ -0,0 +1,6 @@
+# ~/etc/bash/rc/ruby
+#
+# Ruby specific settings
+
+export RI="--format bs"
+export RUBYOPT=rubygems

0 comments on commit 07b410b

Please sign in to comment.