This website works better with JavaScript.
Home
Explore
Help
Sign In
rinri
/
cpsrc
Watch
1
Star
1
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
create.sh: don't override file when exists
master
RinRi
2 years ago
parent
e177160738
commit
6541089255
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
create.sh
+ 1
- 1
create.sh
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh
cp .config.d/template.cpp ${1%.*}.cpp
cp
-n
.config.d/template.cpp ${1%.*}.cpp
nvim -s .config.d/cursorpos ${1%.*}.cpp
nvim -s .config.d/cursorpos ${1%.*}.cpp
Write
Preview
Loading…
Cancel
Save