Permalink
Browse files

Setting dotfiles up for use with Cygwin

  • Loading branch information...
1 parent 4930df2 commit 02300c19514640c687021c2cceb6dee2850b3aa9 @collingridge committed Jun 19, 2011
Showing with 34 additions and 33 deletions.
  1. +4 −0 bash/aliases
  2. +0 −31 bash/paths
  3. +1 −1 bashrc
  4. +28 −0 mbp_.localrc
  5. +1 −1 vimrc
View
4 bash/aliases
@@ -18,3 +18,7 @@ alias be='bundle exec'
alias start_mysql="sudo /Library/StartupItems/MySQLCOM/MySQLCOM start"
alias stop_mysql="sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop"
+
+if [[ $OSTYPE == 'Darwin' ]]; then
+ alias sqlplus='/opt/local/bin/rlwrap sqlplus'
+fi
View
31 bash/paths
@@ -1,31 +0,0 @@
-PATH="~/bin:~/.bin:/usr/local/homebrew/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/git/bin:$PATH"
-export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
-#Rubygems binaries
-PATH="~/.gem/ruby/1.8/bin:$PATH"
-# Oracle related paths
-export ORACLE_HOME=/Library/Oracle/instantclient/10.2.0.4
-export TNS_ADMIN=$ORACLE_HOME
-export LD_LIBRARY_PATH=$ORACLE_HOME
-export DYLD_LIBRARY_PATH=$ORACLE_HOME
-export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH
-PATH=/Library/Oracle/instantclient/10.2.0.4:$PATH
-
-##
-# Your previous /Users/henrycollingridge/.bash_profile file was backed up as /Users/henrycollingridge/.bash_profile.macports-saved_2010-05-07_at_08:04:46
-##
-
-# MacPorts Installer addition on 2010-05-07_at_08:04:46: adding an appropriate PATH variable for use with MacPorts.
-PATH=/opt/local/bin:/opt/local/sbin:$PATH
-export PATH=/usr/local/mysql/bin:$PATH
-# Finished adapting your PATH environment variable for use with MacPorts.
-
-
-# MacPorts Installer addition on 2010-05-07_at_08:04:46: adding an appropriate MANPATH variable for use with MacPorts.
-export MANPATH=/opt/local/share/man:$MANPATH
-# Finished adapting your MANPATH environment variable for use with MacPorts.
-
-alias sqlplus='/opt/local/bin/rlwrap sqlplus'
-#alias mysql='/usr/local/mysql/bin/mysql'
-
-# In order to get oci8 to compile from bundler
-export RC_ARCHS=i386
View
2 bashrc
@@ -3,7 +3,7 @@ source ~/.bash/completions
source ~/.bash/paths
source ~/.bash/config
source ~/.bash/proxies
-
+echo "detected OS type: $OSTYPE"
# use .localrc for settings specific to one system
if [ -f ~/.localrc ]; then
source ~/.localrc
View
28 mbp_.localrc
@@ -0,0 +1,28 @@
+PATH="~/bin:~/.bin:/usr/local/homebrew/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/git/bin:$PATH"
+export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
+#Rubygems binaries
+PATH="~/.gem/ruby/1.8/bin:$PATH"
+# Oracle related paths
+export ORACLE_HOME=/Library/Oracle/instantclient/10.2.0.4
+export TNS_ADMIN=$ORACLE_HOME
+export LD_LIBRARY_PATH=$ORACLE_HOME
+export DYLD_LIBRARY_PATH=$ORACLE_HOME
+export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH
+PATH=/Library/Oracle/instantclient/10.2.0.4:$PATH
+
+##
+# Your previous /Users/henrycollingridge/.bash_profile file was backed up as /Users/henrycollingridge/.bash_profile.macports-saved_2010-05-07_at_08:04:46
+##
+
+# MacPorts Installer addition on 2010-05-07_at_08:04:46: adding an appropriate PATH variable for use with MacPorts.
+PATH=/opt/local/bin:/opt/local/sbin:$PATH
+export PATH=/usr/local/mysql/bin:$PATH
+# Finished adapting your PATH environment variable for use with MacPorts.
+
+
+# MacPorts Installer addition on 2010-05-07_at_08:04:46: adding an appropriate MANPATH variable for use with MacPorts.
+export MANPATH=/opt/local/share/man:$MANPATH
+# Finished adapting your MANPATH environment variable for use with MacPorts.
+
+# In order to get oci8 to compile from bundler
+export RC_ARCHS=i386
View
2 vimrc
@@ -165,7 +165,7 @@ if executable("ack")
endif
" Color scheme
-" colorscheme vividchalk
+colorscheme elflord
" highlight NonText guibg=#060606
" highlight Folded guibg=#0A0A0A guifg=#9090D0

0 comments on commit 02300c1

Please sign in to comment.