Add Homebrew

This commit is contained in:
Jeffrey Serio 2024-07-31 05:49:21 -05:00
parent 4067e28a79
commit 80e59d2cdd

View File

@ -40,6 +40,9 @@
# This file is based on Christian Schneider's zsh configuration # This file is based on Christian Schneider's zsh configuration
# https://www.strcat.de/dotfiles # https://www.strcat.de/dotfiles
# Load Homebrew
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# Plugins # Plugins
if ! test -f ~/.zplug/init.zsh; then if ! test -f ~/.zplug/init.zsh; then
export ZPLUG_HOME=~/.zplug export ZPLUG_HOME=~/.zplug
@ -72,9 +75,6 @@ zplug "plugins/systemd", from:oh-my-zsh
# Load file from ~/.zshrc.d # Load file from ~/.zshrc.d
zplug "~/.zshrc.d", from:local, use:'*' zplug "~/.zshrc.d", from:local, use:'*'
# starship.rs
eval "$(starship init zsh)"
if ! zplug check; then if ! zplug check; then
zplug install; zplug install;
exec $SHELL $SHELL_ARGS "$@" exec $SHELL $SHELL_ARGS "$@"
@ -86,7 +86,7 @@ zplug load
# ENVIRONMENT VARS # ENVIRONMENT VARS
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
export SHELL=/usr/bin/zsh export SHELL=/usr/bin/zsh
export DOOMDIR="${HOME}/sync/doom" export DOOMDIR="${HOME}/nextcloud/doom"
export LS_COLORS=$(vivid generate catppuccin-mocha) export LS_COLORS=$(vivid generate catppuccin-mocha)
export PAGER="less -X" export PAGER="less -X"
export MANWIDTH="88" export MANWIDTH="88"
@ -164,3 +164,6 @@ typeset -gU path cdpath manpath fpath
# compatibility with vterm-buffer-name-string in Emacs # compatibility with vterm-buffer-name-string in Emacs
autoload -U add-zsh-hook autoload -U add-zsh-hook
add-zsh-hook -Uz chpwd() { print -Pn "\e]2;%m:%2~\a" } add-zsh-hook -Uz chpwd() { print -Pn "\e]2;%m:%2~\a" }
# starship.rs
eval "$(starship init zsh)"