From 3c006855689bcaeb401e2b52c979ce4c57cd8fd5 Mon Sep 17 00:00:00 2001 From: GRMrGecko Date: Thu, 16 May 2024 00:02:22 -0500 Subject: [PATCH] Fix up zshrc --- .zshrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index b6c5669..df21ff0 100644 --- a/.zshrc +++ b/.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