docs: Updates

This commit is contained in:
Michel 2024-10-18 19:14:21 +02:00
parent f74d105b89
commit ab2c8a7400
2 changed files with 38 additions and 15 deletions

View File

@ -15,6 +15,7 @@ Recommended installation order:
- [nnn](#nnn)
- [neovim](#neovim)
- Install into `/etc/skel` (see dotfiles)
- Updates (check “Updates” sub-sections)
## Generic Tips
@ -112,6 +113,8 @@ for file in ${BKDIR%/}/*(D); {
vimdiff ${file} ./${file#${BKDIR}} }
```
### Updates
To _upgrade_ to SSH (not compatible with Qubes proxy):
```sh
@ -125,7 +128,28 @@ _remote_ section of `.dotfiles/config`:
fetch = +refs/heads/*:refs/remotes/<remote-name>/*
```
### Install into `/etc/skel`
### Useful Commands
List all tracked files (from CWD):
```sh
dotfiles ls-tree --name-only -rz HEAD \
| xargs -0 $(whence lsd) -lU --color always \
| fzf --multi --height=~100 --exact \
--preview='command bat --color=always --line-range :100 --style=plain {-1}' \
--preview-window=border-left
```
### Other Tools
```sh
lazygit --git-dir=$HOME/.dotfiles --work-tree=$HOME
lazygit --git-dir=/etc/skel/.dotfiles --work-tree=/etc/skel
```
## dotfiles in `/etc/skel`
### Installation
```sh
sudo vi /etc/adduser.conf
@ -141,21 +165,10 @@ skelfiles config --local status.showUntrackedFiles no
skelfiles checkout
```
### Updates
Update the `fetch` remote setting in `.dotfiles/config`.
### Useful Commands
- List all tracked files (from CWD):
`dotfiles ls-tree --name-only -rz HEAD | xargs -0 $(whence lsd) -lU`
`--color always | fzf --multi --height=~100 --exact`
### Other Tools
```sh
lazygit --git-dir=$HOME/.dotfiles --work-tree=$HOME
lazygit --git-dir=/etc/skel/.dotfiles --work-tree=/etc/skel
```
## System Config {#syscfg}
- [SysRq](https://www.kicksecure.com/wiki/SysRq)
@ -234,6 +247,14 @@ for Plugin in $(asdf plugin list); { echo $Plugin; asdf list $Plugin }
TODO: [Where are all the installed flatpak apps .desktop files located](https://github.com/flatpak/flatpak/issues/1286)
#### Updates
```sh
flatpak list
flatpak update
flatpak list
```
#### Qubes Integration
- <https://dataswamp.org/~solene/2023-09-15-flatpak-on-qubesos.html>
@ -347,7 +368,7 @@ wget 'https://salsa.debian.org/debian/kitty/-/raw/debian/sid/terminfo/x/xterm-ki
sudo cp xterm-kitty /usr/share/terminfo/x
```
### Install
### Install / Updates
```sh
# Show installed version, debian package & changelog

2
.vimrc
View File

@ -2,3 +2,5 @@
" :checkhealth
colorscheme darkblue
set background=dark
set nowrap
set shiftwidth=2