Przeglądaj źródła

create.sh: don't override file when exists

master
RinRi 2 lat temu
rodzic
commit
6541089255
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      create.sh

+ 1
- 1
create.sh Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz