]>
apps.delaporte.us Git - dotfiles.git/blob - bin/dot
2 # dot - a (mostly) one script dotfiles manager
4 # Copyright 2026 Edward Delaporte V
5 # Licensed under AGPLv3 and later.
8 # symlinks - any file in $HOME/dotfiles/files may be symlinked
11 # install the necessary tools to $HOME/envs/dot
14 # list available roles
17 # check setup vs expected
20 # add ROLE to localhost
23 # apply all added ROLES
27 if [ "$1" == "setup" ]; then
28 if [[ ! -d $HOME/envs
/ansible
]]; then
30 echo "Setting up Ansible in ~/envs/ansible"
31 cd $HOME/envs
; python3
-m venv ansible
32 $HOME/envs
/ansible
/bin
/pip
install ansible
34 if [[ -d $HOME/envs
/ansible
]]; then
35 echo "[ ok ]: ~/envs/ansible"
39 if [ "$1" == "check" ]; then
43 if [ "$1" == "list" ]; then
45 cd $HOME/dotfiles
/files