Skip to content

Commit df365d6

Browse files
committed
fix(docs): remove outdated zsh4humans references
- Replace z4h remote sync with current znap-based workflow - Update to reflect actual zsh configuration using znap plugin manager - Remove references to zsh4humans which is no longer used
1 parent 798fc36 commit df365d6

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

docs/how-to/backup-restore.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,20 +123,27 @@ When git or stow aren't available on the target system:
123123
ssh user@remote-host 'tar -xzf dotfiles-essential.tar.gz'
124124
```
125125

126-
### Option 3: Zsh4humans Remote Sync
126+
### Option 3: Manual Sync for Essential Files
127127

128-
If using zsh4humans, leverage its built-in sync capability:
128+
For quick setup of essential configurations on remote systems:
129129

130-
1. **Setup zsh4humans locally** (if not already configured)
131-
2. **Use z4h ssh for automatic sync:**
130+
1. **Copy core shell configuration:**
132131
```bash
133-
# Automatically copies zsh and other configs to remote server
134-
z4h ssh user@remote-server.com
132+
# Essential files for basic functionality
133+
scp ~/.zshrc user@remote-host:~/.zshrc
134+
scp ~/.gitconfig user@remote-host:~/.gitconfig
135135
```
136136

137-
This feature (available in z4h v3+) automatically transfers your zsh
138-
configuration and other dotfiles to the remote server, perfect for
139-
systems you access primarily via SSH.
137+
2. **Bootstrap znap on remote system:**
138+
```bash
139+
# On remote system, znap will auto-install when .zshrc is sourced
140+
ssh user@remote-host
141+
zsh # Will trigger znap installation and plugin setup
142+
```
143+
144+
Note: The znap plugin manager will automatically clone and set up plugins
145+
when the shell configuration is first loaded, making remote setup
146+
straightforward.
140147

141148
3. Checkout specific backup (if needed):
142149
```bash

0 commit comments

Comments
 (0)