mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-15 14:12:53 +02:00
use homebrew to manage zsh scripts
This commit is contained in:
parent
059b69f9e4
commit
2174f5cd8f
1 changed files with 5 additions and 7 deletions
12
dot_zshrc
12
dot_zshrc
|
@ -63,11 +63,12 @@ key[Control-Right]="${terminfo[kRIT5]}"
|
|||
[[ -n "${key[Control-Left]}" ]] && bindkey -- "${key[Control-Left]}" backward-word
|
||||
[[ -n "${key[Control-Right]}" ]] && bindkey -- "${key[Control-Right]}" forward-word
|
||||
|
||||
# zsh-autosuggestions
|
||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
# zsh-syntax-highlighting.zsh
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
# homebrew config
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
|
||||
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
# >>> mamba initialize >>>
|
||||
# !! Contents within this block are managed by 'mamba init' !!
|
||||
|
@ -112,9 +113,6 @@ eval "$(atuin init zsh)"
|
|||
# zoxide config
|
||||
eval "$(zoxide init zsh)"
|
||||
|
||||
# homebrew config
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
|
||||
# editors
|
||||
export EDITOR="nano"
|
||||
export VISUAL="code"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue