Browse Source

create.sh: don't override file when exists

master
RinRi 2 years ago
parent
commit
6541089255
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      create.sh

+ 1
- 1
create.sh View File

@@ -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

Loading…
Cancel
Save