mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 15:04:43 +00:00
first commit
This commit is contained in:
19
bootstrap.sh
Executable file
19
bootstrap.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user