David Blume's GitList
Repositories
dotfiles.git
Code
Commits
Branches
Tags
Search
Tree:
b867edb
Branches
Tags
main
pathogen
remove-vim-airline
vim-airline-disabled
vim-powerline
dotfiles.git
.bash_profile
Merge branch 'main' of ssh://dlma.com/~/git/dotfiles
dblume
commited
b867edb
at 2023-02-16 09:28:33
.bash_profile
Blame
History
Raw
# ~/.bash_profile: executed by bash for login shells. if [ -f "${HOME}/.bashrc" ]; then if [[ $(uname -s) == Darwin* ]]; then # Mac M1 installs into /opt/homebrew/; Intel Mac installs into /usr/local/ if [ -d "/opt/homebrew/bin/" ] && [[ ! $PATH =~ (^|:)/opt/homebrew/bin/(:|$) ]]; then PATH+=:/opt/homebrew/bin/ fi command -v brew >/dev/null 2>&1 && eval "$(brew shellenv)" fi source "${HOME}/.bashrc" fi if [[ $(uname -s) == Darwin* ]]; then if [[ -n $ITERM_PROFILE && -z $SSH_CLIENT && -f "${HOME}/tips.txt" ]]; then cat "${HOME}/tips.txt" fi if [[ -n $CDPATH && -f $HOMEBREW_PREFIX/etc/bash_completion ]]; then # brew install bash-completion (for $CDPATH completion) source $HOMEBREW_PREFIX/etc/bash_completion fi if [[ -f $HOMEBREW_PREFIX/bin/ctags ]]; then alias ctags="$HOMEBREW_PREFIX/bin/ctags" fi # Set default names for GNU grep, sed and find prepend_to_path $HOMEBREW_PREFIX/opt/grep/libexec/gnubin prepend_to_path $HOMEBREW_PREFIX/opt/gnu-sed/libexec/gnubin prepend_to_path $HOMEBREW_PREFIX/opt/findutils/libexec/gnubin fi