From 45e915220e418367e7acfa9981b6f1086b865b82 Mon Sep 17 00:00:00 2001 From: lhess2021 Date: Tue, 1 Mar 2022 21:37:10 -0500 Subject: [PATCH] Improved canto/.gitignore system --- shell-scripts.d/xpath.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell-scripts.d/xpath.sh b/shell-scripts.d/xpath.sh index 979f54b..bf20f4b 100755 --- a/shell-scripts.d/xpath.sh +++ b/shell-scripts.d/xpath.sh @@ -5,6 +5,9 @@ # File for previous query touch .prev-xpath.tmp +if [[ ! -e ".gitignore" ]]; then + echo 'xpath.sh' > .gitignore +fi # Colored output GREEN='\033[0;32m'