41 lines
2.2 KiB
Markdown
41 lines
2.2 KiB
Markdown
# dotfiles
|
|
|
|
[](https://x.ai/grok)
|
|
|
|
## Stow
|
|
|
|
1. Install it:
|
|
``sudo dnf install stow``
|
|
|
|
2. Organize your repo like this:
|
|
```
|
|
~/dotfiles/
|
|
├── bash/
|
|
│ ├── .bashrc
|
|
│ └── .bashrc.d/ # everything here
|
|
├── nvim/
|
|
│ └── .config/nvim/
|
|
├── git/
|
|
│ └── .gitconfig
|
|
└── ...
|
|
```
|
|
3. stow it:
|
|
```
|
|
cd ~/dotfiles
|
|
stow bash
|
|
stow nvim
|
|
stow git
|
|
```
|
|
stow creates the symlinks automatically and handles conflicts nicely.
|
|
|
|
## WSL
|
|
[](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse?tabs=powershell&pivots=windows-11)
|
|
|
|
In windows enable OpenSSH Agent
|
|
|
|
(Learn OpenSSH)[]
|
|
```powershell
|
|
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
|
|
|
|
``` |