aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-03-06 06:46:02 +0100
committerCharles <sircharlesaze@gmail.com>2020-03-06 06:46:02 +0100
commitc5eacb8ca315bbf5f9e03e19505ff9f14eacca49 (patch)
tree0ab27a0697d900135f9716029a18c8f675b89960 /.zshrc
parent85258644591c63cc24c8608d2c1d7331edba9f7d (diff)
downloaddotfiles-c5eacb8ca315bbf5f9e03e19505ff9f14eacca49.tar.gz
dotfiles-c5eacb8ca315bbf5f9e03e19505ff9f14eacca49.tar.bz2
dotfiles-c5eacb8ca315bbf5f9e03e19505ff9f14eacca49.zip
Replace Makefile by install.sh script
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc13
1 files changed, 9 insertions, 4 deletions
diff --git a/.zshrc b/.zshrc
index f445d93..3e752e9 100644
--- a/.zshrc
+++ b/.zshrc
@@ -2,6 +2,8 @@
# zshrc #
###############
+export DOTFILES=$HOME/dotfiles
+
# load aliases
source $DOTFILES/.zsh_aliases
@@ -14,6 +16,7 @@ prompt pure
# auto complete
autoload -U compinit
+zstyle ':completion:*' menu select # menu like
zstyle ':completion:*' matcher-list '' \
'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=*' 'r:|=* l:|=* r:|=*' # case insensitive
zmodload zsh/complist
@@ -46,8 +49,6 @@ function chpwd() {
fi
}
-export DOTFILES=$HOME/dotfiles
-
# add command-not-found package suggestion
#source /etc/zsh_command_not_found
@@ -69,5 +70,9 @@ export EDITOR="vim"
# set tab to 4 spaces
tabs 4
-# prompt syntax highlight
-source $HOME/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+# pluggins
+source $HOME/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # prompt syntax highlight
+
+export YSU_MESSAGE_POSITION="after" # you-should-use message after command output
+source $HOME/.zsh/zsh-you-should-use/you-should-use.plugin.zsh # alias reminder
+