From ee81a0dbb585e011c103c42de0294ec2aa316542 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 16 Dec 2024 09:39:31 +0000 Subject: [PATCH] Ignore *.old directories --- nix/pkgs/tmux-sessionizer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/pkgs/tmux-sessionizer.nix b/nix/pkgs/tmux-sessionizer.nix index f13206f..6599b65 100644 --- a/nix/pkgs/tmux-sessionizer.nix +++ b/nix/pkgs/tmux-sessionizer.nix @@ -35,7 +35,7 @@ pkgs.writeShellApplication { if [[ $# -eq 1 ]]; then selected=$1 else - selected=$(find ~/ ~/Code ~/Code/personal ~/Code/os ~/Documents -mindepth 1 -maxdepth 1 -type d | fzf) + selected=$(find ~/ ~/Code ~/Code/personal ~/Code/os ~/Documents -mindepth 1 -maxdepth 1 -type d ! -name "*.old" | fzf) fi if [[ -z "$selected" ]]; then