Skip to content

Commit

Permalink
Setting dotfiles up for use with Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Collingridge committed Jun 19, 2011
1 parent 4930df2 commit 02300c1
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 33 deletions.
4 changes: 4 additions & 0 deletions bash/aliases
Expand Up @@ -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
31 changes: 0 additions & 31 deletions 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
2 changes: 1 addition & 1 deletion bashrc
Expand Up @@ -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
Expand Down
28 changes: 28 additions & 0 deletions 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
2 changes: 1 addition & 1 deletion vimrc
Expand Up @@ -165,7 +165,7 @@ if executable("ack")
endif

" Color scheme
" colorscheme vividchalk
colorscheme elflord
" highlight NonText guibg=#060606
" highlight Folded guibg=#0A0A0A guifg=#9090D0

Expand Down

0 comments on commit 02300c1

Please sign in to comment.