Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tdegrunt/dotty-misc
dotty MISC repo
https://github.com/tdegrunt/dotty-misc
Last synced: 26 days ago
JSON representation
dotty MISC repo
- Host: GitHub
- URL: https://github.com/tdegrunt/dotty-misc
- Owner: tdegrunt
- Created: 2012-07-28T09:00:41.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-01T22:20:47.000Z (almost 12 years ago)
- Last Synced: 2024-10-07T17:36:18.205Z (about 1 month ago)
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotty repository
## dotfiles/
Dotty will symlink files and directories in the root your repos dotfiles/ directory, relative to ~.
You can symlink stuff to sub directories of ~ by using the in+subdir directory naming convention.### Examples
dotfiles/.vim => ~/.vim
dotfiles/in+.ssh/config => ~/.ssh/config
dotfiles/in+a/in+b/c => ~/a/b/c## dotty-symlink.yml
If you want more control over the symlinking, you can create a dotty-symlink.yml in the repo root.
### Example
file_in_repo:.in_home_dir## dotty-repository.thor
If you want to do more than symlinking, you can create a dotty-repository.thor that implements the 'bootstrap' and 'implode' thor tasks.
The class must be named "DottyRepository".### Example
class DottyRepository < Thor
include Thor::Actionsdesc "bootstrap", "Bootstrap this repo"
def bootstrap
# Do stuff here
enddesc "implode", "Implode this repo"
def implode
# Do stuff here
end
end