mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-08 16:39:17 +00:00
update doc
This commit is contained in:
37
docs/howto/README.md
Normal file
37
docs/howto/README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# HowTo
|
||||
|
||||
## Append to a dotfile
|
||||
|
||||
[Append to a dotfile](howto/append.md)
|
||||
|
||||
## Create special files
|
||||
|
||||
[Create special files](howto/create-special-files.md)
|
||||
|
||||
## Handle special chars
|
||||
|
||||
[Handle special chars](howto/special-chars.md)
|
||||
|
||||
## Improve git integration
|
||||
|
||||
[Improve git integration](improve-git-integration.md)
|
||||
|
||||
## Merge files on install
|
||||
|
||||
[Merge files on install](howto/merge-files-when-installing.md)
|
||||
|
||||
## Share content across dotfiles
|
||||
|
||||
[Share content across dotfiles](howto/sharing-content.md)
|
||||
|
||||
## Store compressed directories
|
||||
|
||||
[Store compressed directories](howto/store-compressed-directories.md)
|
||||
|
||||
## Store secrets
|
||||
|
||||
[Store secrets](howto/sensitive-dotfiles.md)
|
||||
|
||||
## Symlink dotfiles
|
||||
|
||||
[Symlink dotfiles](howto/symlinked-dotfiles.md)
|
||||
14
docs/howto/improve-git-integration.md
Normal file
14
docs/howto/improve-git-integration.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Improve git integration
|
||||
|
||||
The below aliases can help with the process of updating your dotfiles between multiple hosts. Add those to your `~/.zshrc` or `~/.bashrc`. You can then simply run `dotsync` to push or pull from your dotfile repository.
|
||||
|
||||
```
|
||||
# Your dotdrop git repository location
|
||||
export DOTREPO="/path/to/your/dotdrop/repo"
|
||||
|
||||
alias dotdrop="$DOTREPO/dotdrop.sh"
|
||||
alias dotgit="git -C $DOTREPO"
|
||||
alias dotsync="dotgit pull && dotgit add -A && dotgit commit && dotgit push; dotdrop install"
|
||||
```
|
||||
|
||||
Provided by [ReekyMarko](https://github.com/ReekyMarko)
|
||||
@@ -1 +0,0 @@
|
||||
**TODO**
|
||||
Reference in New Issue
Block a user