Compare commits
1 Commits
5a733b2c15
...
b6cfbe0770
Author | SHA1 | Date | |
---|---|---|---|
b6cfbe0770 |
10
.zshrc
10
.zshrc
@ -3,6 +3,7 @@ compinit
|
|||||||
HISTFILE="$HOME/.zsh_history"
|
HISTFILE="$HOME/.zsh_history"
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
|
bindkey -e
|
||||||
|
|
||||||
export PATH="/usr/local/ubin:$HOME/bin:$HOME/go/bin:$HOME/.cargo/bin:$PATH"
|
export PATH="/usr/local/ubin:$HOME/bin:$HOME/go/bin:$HOME/.cargo/bin:$PATH"
|
||||||
export EDITOR="vim"
|
export EDITOR="vim"
|
||||||
@ -13,17 +14,10 @@ export VIDEO="mpv"
|
|||||||
export OPENER="xdg-open"
|
export OPENER="xdg-open"
|
||||||
|
|
||||||
export ZDOTDIR="$HOME/.config/zsh"
|
export ZDOTDIR="$HOME/.config/zsh"
|
||||||
|
|
||||||
# Set emacs key binding.
|
|
||||||
bindkey -e
|
|
||||||
|
|
||||||
# Import functions.
|
|
||||||
source "$ZDOTDIR/functions"
|
source "$ZDOTDIR/functions"
|
||||||
|
|
||||||
# Set custom key bindings.
|
|
||||||
zsh_add_config keybinds.zsh
|
zsh_add_config keybinds.zsh
|
||||||
|
|
||||||
# Configure pure-prompt.
|
|
||||||
export PURE_PROMPT_SYMBOL="$"
|
export PURE_PROMPT_SYMBOL="$"
|
||||||
if [ "$USER" = "root" ]; then
|
if [ "$USER" = "root" ]; then
|
||||||
export PURE_PROMPT_SYMBOL="#"
|
export PURE_PROMPT_SYMBOL="#"
|
||||||
@ -36,11 +30,9 @@ zstyle :prompt:pure:host color white
|
|||||||
zstyle ':prompt:pure:prompt:*' color white
|
zstyle ':prompt:pure:prompt:*' color white
|
||||||
prompt pure
|
prompt pure
|
||||||
|
|
||||||
# Add extra plugins.
|
|
||||||
zsh_add_plugin zdharma-continuum/fast-syntax-highlighting
|
zsh_add_plugin zdharma-continuum/fast-syntax-highlighting
|
||||||
|
|
||||||
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||||
zsh_add_plugin zsh-users/zsh-autosuggestions
|
zsh_add_plugin zsh-users/zsh-autosuggestions
|
||||||
|
|
||||||
# Show off the system.
|
|
||||||
fastfetch
|
fastfetch
|
||||||
|
Loading…
Reference in New Issue
Block a user