39 lines
903 B
Bash
39 lines
903 B
Bash
autoload -Uz compinit
|
|
compinit
|
|
HISTFILE="$HOME/.zsh_history"
|
|
HISTSIZE=10000
|
|
SAVEHIST=10000
|
|
bindkey -e
|
|
|
|
export PATH="/usr/local/ubin:$HOME/bin:$HOME/go/bin:$HOME/.cargo/bin:$PATH"
|
|
export EDITOR="vim"
|
|
export TERMINAL="konsole"
|
|
export TERM="konsole"
|
|
export BROWSER="firefox"
|
|
export VIDEO="mpv"
|
|
export OPENER="xdg-open"
|
|
|
|
export ZDOTDIR="$HOME/.config/zsh"
|
|
source "$ZDOTDIR/functions"
|
|
|
|
zsh_add_config keybinds.zsh
|
|
|
|
export PURE_PROMPT_SYMBOL="$"
|
|
if [ "$USER" = "root" ]; then
|
|
export PURE_PROMPT_SYMBOL="#"
|
|
fi
|
|
export PROMPT_PURE_SSH_CONNECTION=YES
|
|
zsh_fpath_plugin sindresorhus/pure
|
|
autoload -U promptinit; promptinit
|
|
zstyle :prompt:pure:user color cyan
|
|
zstyle :prompt:pure:host color white
|
|
zstyle ':prompt:pure:prompt:*' color white
|
|
prompt pure
|
|
|
|
zsh_add_plugin zdharma-continuum/fast-syntax-highlighting
|
|
|
|
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
|
zsh_add_plugin zsh-users/zsh-autosuggestions
|
|
|
|
fastfetch
|