29 lines
629 B
Bash
29 lines
629 B
Bash
# Plugins
|
|
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
|
|
# History settings
|
|
HISTSIZE=5000
|
|
SAVEHIST=5000
|
|
HISTFILE=~/.zsh_history
|
|
setopt HIST_IGNORE_ALL_DUPS
|
|
setopt SHARE_HISTORY
|
|
|
|
# Keys
|
|
bindkey "^[[3~" delete-char
|
|
bindkey '^[[A' up-line-or-search
|
|
bindkey '^[[B' down-line-or-search
|
|
|
|
# Initialize Starship
|
|
eval "$(starship init zsh)"
|
|
|
|
|
|
export PATH="$HOME/.cargo/bin:$PATH"
|
|
|
|
# bun completions
|
|
[ -s "/root/.bun/_bun" ] && source "/root/.bun/_bun"
|
|
|
|
# bun
|
|
export BUN_INSTALL="$HOME/.bun"
|
|
export PATH="$BUN_INSTALL/bin:$PATH"
|