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