dblume commited on 2023-02-16 09:28:33
Showing 1 changed files, with 4 additions and 4 deletions.
... | ... |
@@@ -14,12 -14,12 +14,12 @@@ if [[ $(uname -s) == Darwin* ]]; the |
14 | 14 |
if [[ -n $ITERM_PROFILE && -z $SSH_CLIENT && -f "${HOME}/tips.txt" ]]; then |
15 | 15 |
cat "${HOME}/tips.txt" |
16 | 16 |
fi |
17 |
-- if [[ -n $CDPATH && -f $(brew --prefix)/etc/bash_completion ]]; then |
|
17 |
++ if [[ -n $CDPATH && -f $HOMEBREW_PREFIX/etc/bash_completion ]]; then |
|
18 | 18 |
# brew install bash-completion (for $CDPATH completion) |
19 |
-- source $(brew --prefix)/etc/bash_completion |
|
19 |
++ source $HOMEBREW_PREFIX/etc/bash_completion |
|
20 | 20 |
fi |
21 |
-- if [[ -f $(brew --prefix)/bin/ctags ]]; then |
|
22 |
-- alias ctags="$(brew --prefix)/bin/ctags" |
|
21 |
++ if [[ -f $HOMEBREW_PREFIX/bin/ctags ]]; then |
|
22 |
++ alias ctags="$HOMEBREW_PREFIX/bin/ctags" |
|
23 | 23 |
fi |
24 | 24 |
# Set default names for GNU grep, sed and find |
25 | 25 |
prepend_to_path $HOMEBREW_PREFIX/opt/grep/libexec/gnubin |
26 | 26 |