Browse Source

Fix up zshrc

master
GRMrGecko 4 months ago
parent
commit
3c00685568
  1. 10
      .zshrc

10
.zshrc

@ -3,7 +3,6 @@ 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"
@ -14,10 +13,17 @@ export VIDEO="mpv"
export OPENER="xdg-open"
export ZDOTDIR="$HOME/.config/zsh"
# Set emacs key binding.
bindkey -e
# Import functions.
source "$ZDOTDIR/functions"
# Set custom key bindings.
zsh_add_config keybinds.zsh
# Configure pure-prompt.
export PURE_PROMPT_SYMBOL="$"
if [ "$USER" = "root" ]; then
export PURE_PROMPT_SYMBOL="#"
@ -30,9 +36,11 @@ zstyle :prompt:pure:host color white
zstyle ':prompt:pure:prompt:*' color white
prompt pure
# Add extra plugins.
zsh_add_plugin zdharma-continuum/fast-syntax-highlighting
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
zsh_add_plugin zsh-users/zsh-autosuggestions
# Show off the system.
fastfetch
Loading…
Cancel
Save