From 941b07bc3e40d7406072942bbc696be3ddb2f573 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Fri, 26 Apr 2024 10:46:50 -0500 Subject: [PATCH] Don't stow swap files gdi --- bootleg-stow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootleg-stow b/bootleg-stow index f5e4f067..7d686e63 100755 --- a/bootleg-stow +++ b/bootleg-stow @@ -75,7 +75,7 @@ checkconflict() { error "Could not read directory: $1" 2 fi # Get our list of files - local files="$(find "$1" -type f -o -type l)" + local files="$(find "$1" ! -name "*.swp" -type f -o -type l)" local directories="$(find "$1" -type d)" local -a conflict # Iterate over them