feat: add zsh plugins and update configuration files
This commit is contained in:
17
.zshrc
17
.zshrc
@ -5,6 +5,16 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
# Set custom Zsh plugin path
|
||||
export ZSH_CUSTOM="$HOME/dotfiles/zsh"
|
||||
|
||||
# Load plugins
|
||||
source $ZSH_CUSTOM/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source $ZSH_CUSTOM/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
# Powerlevel10k theme
|
||||
source $ZSH_CUSTOM/themes/powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
@ -108,9 +118,6 @@ source $ZSH/oh-my-zsh.sh
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
#source <(curl -s https://cdn.simonis.lol/all.sh)
|
||||
#source <(curl -s https://cdn.simonis.lol/composer.sh)
|
||||
#source <(curl -s https://cdn.simonis.lol/git.sh)
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
@ -122,13 +129,11 @@ source $HOME/.zshenv
|
||||
|
||||
eval "$(direnv hook zsh)"
|
||||
|
||||
source /home/csimonis/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
# Load Angular CLI autocompletion.
|
||||
source <(ng completion script)
|
||||
|
||||
# bun completions
|
||||
[ -s "/home/csimonis/.bun/_bun" ] && source "/home/csimonis/.bun/_bun"
|
||||
[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun"
|
||||
|
||||
# bun
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
|
Reference in New Issue
Block a user