summaryrefslogtreecommitdiff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc30
1 files changed, 27 insertions, 3 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index af98c0e..dc398be 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -1,7 +1,31 @@
# ZSH config
# Load plugins first
[ -f $HOME/.config/zsh/plugins.zsh ] && source $HOME/.config/zsh/plugins.zsh
-[ -f $HOME/.config/zsh/exports.zsh ] && source $HOME/.config/zsh/exports.zsh
[ -f $HOME/.config/zsh/functions.zsh ] && source $HOME/.config/zsh/functions.zsh
-[ -f $HOME/.config/zsh/keybindings.zsh ] && source $HOME/.config/zsh/keybindings.zsh
-[ -f $HOME/.config/zsh/aliases.zsh ] && source $HOME/.config/zsh/aliases.zsh
+
+# Uncomment the following line to use case-sensitive completion.
+CASE_SENSITIVE="true"
+
+zle_highlight=('paste:none')
+
+autoload -U colors && colors
+
+# For autocomplete to work
+autoload -U +X compinit && compinit
+autoload -U +X bashcompinit && bashcompinit
+
+# History in cache directory:
+HISTSIZE=100000
+SAVEHIST=100000
+HISTFILE=~/.cache/zsh/history
+
+export CLICOLOR=1
+
+# FZF search files
+bindkey "รง" fzf-cd-widget
+
+# Search history
+bindkey "^[[A" history-beginning-search-backward
+bindkey "^[[B" history-beginning-search-forward
+
+eval "$(pyenv init -)"