mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 20:54:51 +00:00
20 lines
372 B
Bash
Executable File
20 lines
372 B
Bash
Executable File
#!/bin/bash
|
|
# author: deadc0de6 (https://github.com/deadc0de6)
|
|
|
|
fold="dotfiles"
|
|
|
|
# copy dotdrop entry point
|
|
cat dotdrop/dotdrop.sh | sed 's#${cur}/dotdrop/dotdrop.py#${cur}/dotdrop/dotdrop/dotdrop.py#g' > dotdrop.sh
|
|
chmod +x dotdrop.sh
|
|
mkdir $fold
|
|
|
|
# init config file
|
|
cat << EOF > config.yaml
|
|
config:
|
|
backup: true
|
|
create: true
|
|
dotpath: $fold
|
|
dotfiles:
|
|
profiles:
|
|
EOF
|