bundlewrap/bundles/zsh/items.py
mwiegand 59165f54c6 wip
2021-07-01 09:19:20 +02:00

14 lines
467 B
Python

from os.path import join
for name, user_config in node.metadata.get('users').items():
print(user_config)
if 'oh_my_zsh' in user_config:
directories = {
join(user_config['home'], '.zsh'): {},
join(user_config['home'], '.zsh/oh-my-zsh'): {},
}
git_deploy[join(user_config['home'], '.zsh/oh-my-zsh')] = {
'repo': 'git://github.com/ohmyzsh/ohmyzsh.git',
'rev': 'master',
}