diff --git a/.README.md b/.README.md index e12aadc..f599145 100644 --- a/.README.md +++ b/.README.md @@ -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//* ``` -### 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 - @@ -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 diff --git a/.vimrc b/.vimrc index 17efbec..6f86102 100644 --- a/.vimrc +++ b/.vimrc @@ -2,3 +2,5 @@ " :checkhealth colorscheme darkblue set background=dark +set nowrap +set shiftwidth=2