From 6541089255f8a27789d83f0b06502d8c0b8163d6 Mon Sep 17 00:00:00 2001 From: RinRi Date: Thu, 24 Feb 2022 20:27:40 +0300 Subject: [PATCH] create.sh: don't override file when exists --- create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create.sh b/create.sh index 6a93df4..d7dc21e 100755 --- a/create.sh +++ b/create.sh @@ -1,4 +1,4 @@ #!/bin/sh -cp .config.d/template.cpp ${1%.*}.cpp +cp -n .config.d/template.cpp ${1%.*}.cpp nvim -s .config.d/cursorpos ${1%.*}.cpp