Re: A little script to deploy dot files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2012/3/12 郑文辉(Techlive Zheng) <techlivezheng@xxxxxxxxx>:
> [Inspired by tomd123@xxxxxxxxxxxxxxxxx](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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux