aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zsh/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-03-29 15:28:18 -0500
committerToby Vincent <tobyv13@gmail.com>2022-03-29 15:28:18 -0500
commit0360f381b3bdd38da4902b4b631a6122185e277c (patch)
tree3150a8e5c9fc98d5c4e296f9257bcad465b430b2 /zsh/.config
parent9770190e54128f1e24d69a1e42a013bb408c68f9 (diff)
fix: fix zsh plugins
Diffstat (limited to 'zsh/.config')
-rw-r--r--zsh/.config/zsh/.zshrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index cc2f808..8e35d81 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -6,9 +6,10 @@ HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
-setopt NO_BEEP
-setopt MENU_COMPLETE
+setopt no_beep
+setopt menu_complete
setopt auto_pushd # auto push to the directory stack on cd
+setopt auto_cd # cd without args
setopt extended_history # record timestamp of command in HISTFILE
setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE
setopt hist_ignore_dups # ignore duplicated commands history list
@@ -57,8 +58,11 @@ command -v fd &>/dev/null && _fzf_compgen_dir() {
fd --type d --hidden --follow --exclude ".git" . "$1"
}
+# Keybinds
+bindkey -e
bindkey '^ ' autosuggest-accept
bindkey '^[[Z' reverse-menu-complete
+# Prompt/plugins
command -v starship &>/dev/null && source <(starship init zsh)
command -v sheldon &>/dev/null && source <(sheldon source)