David Blume's GitList
Repositories
dotfiles.git
Code
Commits
Branches
Tags
Search
Tree:
fc19c7b
Branches
Tags
main
pathogen
remove-vim-airline
vim-airline-disabled
vim-powerline
dotfiles.git
.bash_profile
Use default names in macOS for GNU ctags, find, grep and sed
dblume
commited
fc19c7b
at 2022-12-14 10:55:08
.bash_profile
Blame
History
Raw
# ~/.bash_profile: executed by bash for login shells. if [ -f "${HOME}/.bashrc" ]; then 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 $(brew --prefix)/etc/bash_completion ]]; then # brew install bash-completion (for $CDPATH completion) source $(brew --prefix)/etc/bash_completion fi if [[ -f $(brew --prefix)/bin/ctags ]]; then alias ctags="$(brew --prefix)/bin/ctags" fi # Set default names for GNU grep, sed and find PATH="/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:$PATH" fi