Make homebrew happy on MacOS
This commit is contained in:
parent
da46f0cd8d
commit
32ebf043e3
3 changed files with 12 additions and 1 deletions
|
@ -17,6 +17,12 @@ fi
|
||||||
|
|
||||||
export VISUAL="${EDITOR}"
|
export VISUAL="${EDITOR}"
|
||||||
|
|
||||||
|
if [ "$(uname)" = "Darwin" ]; then
|
||||||
|
if [ -x /opt/homebrew/bin/brew ]; then
|
||||||
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -d "${HOME}/bin" ]; then
|
if [ -d "${HOME}/bin" ]; then
|
||||||
export PATH="${HOME}/bin:${PATH}"
|
export PATH="${HOME}/bin:${PATH}"
|
||||||
fi
|
fi
|
||||||
|
|
5
chezmoi/dot_zshrc.d/executable_homebrew.zsh
Normal file
5
chezmoi/dot_zshrc.d/executable_homebrew.zsh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
if command -v brew &> /dev/null; then
|
||||||
|
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
fi
|
|
@ -150,7 +150,7 @@ font:
|
||||||
#style: Bold Italic
|
#style: Bold Italic
|
||||||
|
|
||||||
# Point size
|
# Point size
|
||||||
size: 9.0
|
size: 11.0
|
||||||
|
|
||||||
# Offset is the extra space around each character. `offset.y` can be thought
|
# Offset is the extra space around each character. `offset.y` can be thought
|
||||||
# of as modifying the line spacing, and `offset.x` as modifying the letter
|
# of as modifying the line spacing, and `offset.x` as modifying the letter
|
||||||
|
|
Loading…
Reference in a new issue