From 07c8616b06cf87781066de0b9c2cb34e2b7f10ad Mon Sep 17 00:00:00 2001 From: awy Date: Tue, 5 Nov 2024 12:00:14 +0300 Subject: zsh fzf-tab --- .config/zsh/.zshrc | 4 +++- dependencies.txt | 2 ++ rice.sh | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3