-
-
Save nraynaud/a47ee86af596f490abaa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# System-wide .bashrc file for interactive bash(1) shells. | |
if [ -z "$PS1" ]; then | |
return | |
fi | |
PS1='\h:\W \u\$ ' | |
# Make bash check its window size after a process completes | |
shopt -s checkwinsize | |
# Tell the terminal about the working directory at each prompt. | |
if [ "$TERM_PROGRAM" == "Apple_Terminal" ] && [ -z "$INSIDE_EMACS" ]; then | |
update_terminal_cwd() { | |
# Identify the directory using a "file:" scheme URL, | |
# including the host name to disambiguate local vs. | |
# remote connections. Percent-escape spaces. | |
local SEARCH=' ' | |
local REPLACE='%20' | |
local PWD_URL="file://$HOSTNAME${PWD//$SEARCH/$REPLACE}" | |
printf '\e]7;%s\a' "$PWD_URL" | |
} | |
PROMPT_COMMAND="update_terminal_cwd; $PROMPT_COMMAND" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MYTTY=`tty` | |
HISTFILE=$HOME/.bash_history_`basename $MYTTY` | |
export PYTHONPATH=/usr/local/lib/python2.7/site-packages/ | |
export PATH=$PATH:/usr/local/ada-4.3/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export MAGICK_HOME="$HOME/ImageMagick-6.6.5" | |
export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib" | |
export PATH=/Users/nraynaud/dev/go/bin:/Users/nraynaud/pear/bin:/usr/local/bin:$PATH:"/Developer/usr/bin:/Applications/Firefox 3.6.app/Contents/MacOS:$MAGICK_HOME/bin:~/sat/bin" | |
export ARCHFLAGS='-arch i386 –arch x86_64' | |
MYTTY=`tty` | |
HISTFILE=$HOME/.bash_history_`basename $MYTTY` | |
export PYTHONPATH=/usr/local/lib/python2.7/site-packages/ | |
## | |
# Your previous /Users/nraynaud/.profile file was backed up as /Users/nraynaud/.profile.macports-saved_2012-03-13_at_07:30:52 | |
## | |
# MacPorts Installer addition on 2012-03-13_at_07:30:52: adding an appropriate PATH variable for use with MacPorts. | |
export PATH=/opt/local/bin:/opt/local/sbin:$PATH | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
export PATH=/Users/nraynaud/dev/depot_tools:"$PATH" | |
export NACL_SDK_ROOT=/Users/nraynaud/dev/nacl_sdk/pepper_35 | |
## | |
# Your previous /Users/nraynaud/.profile file was backed up as /Users/nraynaud/.profile.macports-saved_2014-10-20_at_18:36:53 | |
## | |
# MacPorts Installer addition on 2014-10-20_at_18:36:53: adding an appropriate PATH variable for use with MacPorts. | |
export PATH="/opt/local/bin:/opt/local/sbin:$PATH" | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
## | |
# Your previous /Users/nraynaud/.profile file was backed up as /Users/nraynaud/.profile.macports-saved_2014-10-20_at_19:12:14 | |
## | |
# MacPorts Installer addition on 2014-10-20_at_19:12:14: adding an appropriate PATH variable for use with MacPorts. | |
export PATH="/opt/local/bin:/opt/local/sbin:$PATH" | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# System-wide .profile for sh(1) | |
if [ -x /usr/libexec/path_helper ]; then | |
eval `/usr/libexec/path_helper -s` | |
fi | |
if [ "${BASH-no}" != "no" ]; then | |
[ -r /etc/bashrc ] && . /etc/bashrc | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment