Fix up zshrc
This commit is contained in:
parent
c7f6bbfddc
commit
3c00685568
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…
Reference in New Issue
Block a user