[arch-general] A little script to deploy dot files

郑文辉(Techlive Zheng) techlivezheng at gmail.com
Sat Oct 26 10:38:11 EDT 2013


2012/3/15 arnaud gaboury <arnaud.gaboury at gmail.com>:
> Sounds quite a good idea, as when moving from one host to another one,
> being able to move the dot files would be of high interest.
> Will try asap as I am currently moving some dotfiles form one old distro to
> my new Arch one.
>
> 2012/3/14 郑文辉(Techlive Zheng) <techlivezheng at gmail.com>
>
>> 2012/3/12 郑文辉(Techlive Zheng) <techlivezheng at gmail.com>:
>> > [Inspired by tomd123 at bbs.archlinux.org](
>> https://bbs.archlinux.org/viewtopic.php?id=134622),
>> > I have wrote a small script to deploy the dotfiles acrossing viarous
>> > hosts, may be you guys are interested to have a look.
>> >
>> > Github: https://github.com/techlivezheng/dotploy
>> >
>> > Thoughts and advices are very welcome, cause my bash skills are still
>> > need much improving, there must be some ugly workaround.
>> >
>> > Regards,
>> > Techlive Zheng
>>
>> Now it is support deploy dot files based on $HOSTNAME and $USER. If a
>> dotfile under a specfic $HOSTNAME and $USER location existed, it will
>> be used. Otherwise, the dot file with same name under $HOSTNAME
>> directory will be used. Otherwise, under $USER directory in common
>> directory. At last, if above all failed, the dot file in common
>> directory will be used.
>>
>> This way, we can keep our dot files across several hosts of different
>> user maintained in a central repo using git or dropbox.Then we can
>> deploy or change it everywhere.
>>
>
>
>
> --
> ***********************************************************************
> My profile:
> https://plus.google.com/116159236040461325607/about?hl=fr
> ***********************************************************************

Hey, guys, sorry to dig up this old thread, don't know if someone
still is interested in this script.

I just want to inform you guys that a new version 0.3 is released
recently with a bunch of bug fixes as well as a new feature which
allows dotploy to deploy .dotfiles from a local path outside the dot
files repo or even from a VCS source(currently, only Git is supported)
in the same manner as the makepkg does.

Check it out: https://github.com/techlivezheng/dotploy


More information about the arch-general mailing list