From caf937d858b2ae0927ad80ef66d17ff9e1e3454a Mon Sep 17 00:00:00 2001 From: Thomas Frans Date: Mon, 20 Nov 2023 22:12:35 +0100 Subject: [PATCH] fix: add leading slash to gitignore paths The leading slash forces Git to only look for the mentioned files from the root of the directory, not inside allowed subdirectories. --- .gitignore | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 7f1492279..32b8e6f39 100644 --- a/.gitignore +++ b/.gitignore @@ -14,8 +14,8 @@ tags # Ignore generated resources *.1 -misc/_ncspot -misc/ncspot.bash -misc/ncspot.fish -misc/ncspot.elv -misc/_ncspot.ps1 +/misc/_ncspot +/misc/ncspot.bash +/misc/ncspot.fish +/misc/ncspot.elv +/misc/_ncspot.ps1