docs: Updates
This commit is contained in:
parent
f74d105b89
commit
ab2c8a7400
51
.README.md
51
.README.md
@ -15,6 +15,7 @@ Recommended installation order:
|
|||||||
- [nnn](#nnn)
|
- [nnn](#nnn)
|
||||||
- [neovim](#neovim)
|
- [neovim](#neovim)
|
||||||
- Install into `/etc/skel` (see dotfiles)
|
- Install into `/etc/skel` (see dotfiles)
|
||||||
|
- Updates (check “Updates” sub-sections)
|
||||||
|
|
||||||
## Generic Tips
|
## Generic Tips
|
||||||
|
|
||||||
@ -112,6 +113,8 @@ for file in ${BKDIR%/}/*(D); {
|
|||||||
vimdiff ${file} ./${file#${BKDIR}} }
|
vimdiff ${file} ./${file#${BKDIR}} }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Updates
|
||||||
|
|
||||||
To _upgrade_ to SSH (not compatible with Qubes proxy):
|
To _upgrade_ to SSH (not compatible with Qubes proxy):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@ -125,7 +128,28 @@ _remote_ section of `.dotfiles/config`:
|
|||||||
fetch = +refs/heads/*:refs/remotes/<remote-name>/*
|
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
|
```sh
|
||||||
sudo vi /etc/adduser.conf
|
sudo vi /etc/adduser.conf
|
||||||
@ -141,21 +165,10 @@ skelfiles config --local status.showUntrackedFiles no
|
|||||||
skelfiles checkout
|
skelfiles checkout
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Updates
|
||||||
|
|
||||||
Update the `fetch` remote setting in `.dotfiles/config`.
|
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}
|
## System Config {#syscfg}
|
||||||
|
|
||||||
- [SysRq](https://www.kicksecure.com/wiki/SysRq)
|
- [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)
|
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
|
#### Qubes Integration
|
||||||
|
|
||||||
- <https://dataswamp.org/~solene/2023-09-15-flatpak-on-qubesos.html>
|
- <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
|
sudo cp xterm-kitty /usr/share/terminfo/x
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install
|
### Install / Updates
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Show installed version, debian package & changelog
|
# Show installed version, debian package & changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user