Skip to content

Commit

Permalink
merge again on osx side
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodeceulaer committed Feb 10, 2015
1 parent b63b931 commit 7607a15
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
1 change: 0 additions & 1 deletion bash/bash_ps1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
echo "dinges"
# Fill with minuses
# (this is recalculated every time the prompt is shown in function prompt_command):
fill="--- "
Expand Down
32 changes: 28 additions & 4 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,38 @@ source ~/.bash/paths.sh
source ~/.bash/config.sh
source ~/.bash/bash_ps1.sh

if [[ "$OSTYPE" == "linux-gnu" ]]; then
# ...
echo "Linux"
elif [[ "$OSTYPE" == "darwin"* ]]; then
# Mac OSX
eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`
PERL_MB_OPT="--install_base \"/Users/nicodeceulaer/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/Users/nicodeceulaer/perl5"; export PERL_MM_OPT;
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
elif [[ "$OSTYPE" == "cygwin" ]]; then
# POSIX compatibility layer and Linux environment emulation for Windows
echo "cygwin"
elif [[ "$OSTYPE" == "msys" ]]; then
# Lightweight shell and GNU utilities compiled for Windows (part of MinGW)
echo "msys"
elif [[ "$OSTYPE" == "win32" ]]; then
# I'm not sure this can happen.
echo "win32"
elif [[ "$OSTYPE" == "freebsd"* ]]; then
# ...
echo "freebsd"
else
# Unknown.
echo "unknown OSTYPE : $OSTYPE"
fi

# use .localrc for settings specific to one system
if [ -f ~/.localrc ]; then
source ~/.localrc
fi
# TODO - eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
[[ -s "/home/nico/.gvm/scripts/gvm" ]] && source "/home/nico/.gvm/scripts/gvm"

1 change: 1 addition & 0 deletions tmux.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
set-option -g default-command "reattach-to-user-namespace -l $SHELL"
# set-option -g prefix `
set-option -g prefix C-a

Expand Down

0 comments on commit 7607a15

Please sign in to comment.