Skip to content

Instantly share code, notes, and snippets.

@cbeck88
Created November 1, 2014 22:11
Show Gist options
  • Save cbeck88/28145eaa5d26fcd41f5e to your computer and use it in GitHub Desktop.
Save cbeck88/28145eaa5d26fcd41f5e to your computer and use it in GitHub Desktop.
chris@chris-KLR650 ~ $ echo $PATH
/home/chris/.linuxbrew/sbin:/home/chris/.linuxbrew/bin:/home/chris/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
chris@chris-KLR650 ~ $ cat .bashrc
#export PS1='\[$(__vte_prompt_command)\]'$PS1
#. /etc/profile.d/vte.sh
#Add my system pkg config dir... (not sure why I have to do this, but scons complains when I compile wesnoth otherwise)
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/:$PKG_CONFIG_PATH
# Until LinuxBrew is fixed, the following is required.
# See: https://github.com/Homebrew/linuxbrew/issues/47
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:$PKG_CONFIG_PATH
## Setup linux brew
export LINUXBREWHOME=$HOME/.linuxbrew
export PATH="$LINUXBREWHOME/bin:$PATH"
export PATH="$LINUXBREWHOME/sbin:$PATH"
export MANPATH="$LINUXBREWHOME/share/man:$MANPATH
export INFOPATH="$LINUXBREWHOME/share/info:$INFOPATH
export HOMEBREW_TEMP=$HOME/homebrew_temp
export PKG_CONFIG_PATH=$LINUXBREWHOME/lib64/pkgconfig:$LINUXBREWHOME/lib/pkgconfig:$PKG_CONFIG_PATH
#export LD_LIBRARY_PATH=$LINUXBREWHOME/lib64:$LINUXBREWHOME/lib:$LD_LIBRARY_PATH
. $(brew --repository)/Library/Contributions/brew_bash_completion.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment