aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/zsh/.zshrc4
-rw-r--r--dependencies.txt2
-rwxr-xr-xrice.sh2
3 files changed, 7 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
diff --git a/dependencies.txt b/dependencies.txt
index 30e232a..e84c275 100644
--- a/dependencies.txt
+++ b/dependencies.txt
@@ -42,6 +42,8 @@ grim
slurp
zsh
zsh-autosuggestions
+# zsh fzf-tab dep
+fzf
mpv
yt-dlp
unzip
diff --git a/rice.sh b/rice.sh
index f66aab6..4e9933a 100755
--- a/rice.sh
+++ b/rice.sh
@@ -34,8 +34,10 @@ doas -u $PERMUSER dbus-launch gsettings set org.gnome.desktop.interface font-nam
cd "$WORKDIRECTORY" || exit
doas -u $PERMUSER git clone https://github.com/zdharma-continuum/fast-syntax-highlighting
+doas -u $PERMUSER git clone https://github.com/Aloxaf/fzf-tab
mkdir -p /usr/share/zsh/plugins
cp -rf fast-syntax-highlighting /usr/share/zsh/plugins
+cp -rf fzf-tab /usr/share/zsh/plugins
cd ..
rm -rf hyprdots