From 581d729b79327cdf19e061920dd5660b657bc395 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 23 Aug 2024 06:27:44 -0700 Subject: [PATCH] tmux-sessionizer: preview --- home/modules/tmux-sessionizer.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/modules/tmux-sessionizer.nix b/home/modules/tmux-sessionizer.nix index 9461701..f3f3628 100644 --- a/home/modules/tmux-sessionizer.nix +++ b/home/modules/tmux-sessionizer.nix @@ -15,7 +15,8 @@ let if [[ $# -eq 1 ]]; then selected=$1 else - selected=$(find -L ${lib.concatStringsSep " " cfg.paths} -mindepth 1 -maxdepth 1 -type d | fzf) + selected=$(find -L ${lib.concatStringsSep " " cfg.paths} -mindepth 1 -maxdepth 1 -type d \ + | fzf --tmux center --preview="ls {} --color || true") fi if [[ -z $selected ]]; then