@@ -47,7 +47,6 @@ PATH="/snap/bin:/usr/bin:/bin:/usr/sbin:/sbin"
|
||||
[ -f /usr/bin/npm ] && _prepend_path "./node_modules/.bin" # Node.js
|
||||
[ -d /usr/texbin ] && _prepend_path "/usr/texbin" # LaTex
|
||||
[ -d $HOME/.cargo/bin ] && _prepend_path "$HOME/.cargo/bin" # Rust
|
||||
command -v brew >/dev/null 2>&1 && _prepend_path "$(brew --prefix coreutils)/libexec/gnubin" # Homebrew
|
||||
[ -d $HOME/.local/bin ] && _prepend_path "$HOME/.local/bin" # Local bin
|
||||
[ -d $HOME/bin ] && _prepend_path "$HOME/bin" # ~/bin
|
||||
[ -d $HOME/dotfiles/bin ] && _prepend_path "$HOME/dotfiles/bin" # Dotfiles bin
|
||||
@@ -78,14 +77,6 @@ for file in ~/dotfiles/includes/bash_*.bash; do
|
||||
done
|
||||
unset file
|
||||
|
||||
if [ `uname` == 'Darwin' ]; then
|
||||
export GOROOT="/usr/local/Cellar/go/1.3/libexec"
|
||||
export GOPATH=$HOME/go
|
||||
|
||||
launchctl setenv GOROOT $GOROOT
|
||||
launchctl setenv GOPATH $GOPATH
|
||||
fi
|
||||
|
||||
# Tell ls to be colourful
|
||||
export CLICOLOR=1
|
||||
|
||||
@@ -120,11 +111,9 @@ export PAGER='less'
|
||||
# Load extra (private) settings
|
||||
[ -f ~/.bashlocal ] && source ~/.bashlocal
|
||||
|
||||
# Force a green prompt
|
||||
true
|
||||
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
||||
# Disable microsoft telemetry
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
export BASH_PROFILE_LOADED=1
|
||||
|
||||
# Force a green prompt
|
||||
true
|
||||
|
Reference in New Issue
Block a user