瀏覽代碼

create.sh: don't override file when exists

master
RinRi 2 年之前
父節點
當前提交
6541089255
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      create.sh

+ 1
- 1
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

Loading…
取消
儲存