mirror of
https://gitee.com/hotalexnet/openbsd.git
synced 2026-05-11 02:05:53 +08:00
20250923
This commit is contained in:
parent
e52d5263b2
commit
5fbc0d9377
2 changed files with 10 additions and 11 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit c072ada05271eec960dc893affe9ac55af63a745
|
||||
Subproject commit f3758b069b3f7ac50acfe3508e4839004767a092
|
||||
19
README.md
19
README.md
|
|
@ -60,18 +60,17 @@ doas pkg_add -l ~/dotfiles/list
|
|||
mkdir ~/dotfiles_backup_$(date +%F)
|
||||
cp ~/.profile ~/.Xresources ~/.xsession ~/.tmux.conf ~/dotfiles_backup_$(date +%F)/ 2>/dev/null || echo "无旧配置"
|
||||
```
|
||||
### 4. 创建软链接(推荐方式)
|
||||
### 4. 拷贝所需要的配置文件到根目录
|
||||
|
||||
```sh
|
||||
ln -sf ~/dotfiles/.profile ~/
|
||||
ln -sf ~/dotfiles/.Xresources ~/
|
||||
ln -sf ~/dotfiles/.xsession ~/
|
||||
ln -sf ~/dotfiles/.tmux.conf ~/
|
||||
ln -sf ~/dotfiles/.cwmrc ~/
|
||||
ln -sf ~/dotfiles/.spectrwm.conf ~/
|
||||
ln -sf ~/dotfiles/.i3status.conf ~/
|
||||
ln -sf ~/dotfiles/.config ~/
|
||||
ln -sf ~/dotfiles/bin ~/
|
||||
cp ~/dotfiles/.profile ~/
|
||||
cp ~/dotfiles/.Xresources ~/
|
||||
cp ~/dotfiles/.xsession ~/
|
||||
cp ~/dotfiles/.tmux.conf ~/
|
||||
cp ~/dotfiles/.cwmrc ~/
|
||||
cp -rf ~/dotfiles/.spectrwm ~/
|
||||
cp -rf ~/dotfiles/.config ~/
|
||||
cp -rf ~/dotfiles/bin ~/
|
||||
```
|
||||
### 5. 重载配置
|
||||
重启 X 或重新登录以应用 .xsession
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue