aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-05 12:00:14 +0300
committerawy <awy@awy.one>2024-11-05 12:00:14 +0300
commit07c8616b06cf87781066de0b9c2cb34e2b7f10ad (patch)
treec049b67294b152a78f6fbf1b97474fd95f71ef22 /.config
parent5755e86260015a1a46c142cb51848e9531665191 (diff)
zsh fzf-tab
Diffstat (limited to '.config')
-rw-r--r--.config/zsh/.zshrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 49e591a..1dbf6ba 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -28,7 +28,7 @@ setopt hist_save_no_dups
setopt hist_reduce_blanks
setopt hist_verify
-autoload -U compinit
+autoload -U compinit; compinit
zstyle ':completion:*' menu select
zmodload zsh/complist
compinit
@@ -36,6 +36,8 @@ _comp_options+=(globdots) # Include hidden files.
source "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
+source "/usr/share/zsh/plugins/fzf-tab/fzf-tab.plugin.zsh"
+
lfcd () {
tmp="$(mktemp -uq)"
trap 'rm -f $tmp >/dev/null 2>&1 && trap - HUP INT QUIT TERM PWR EXIT' HUP INT QUIT TERM PWR EXIT