Skip to content

Commit 44398e8

Browse files
committed
2026-04-22
1 parent 2dbe17d commit 44398e8

60 files changed

Lines changed: 483 additions & 388 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cspell.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,8 @@ ignorePaths:
5757
- '**/anki-plugins'
5858
- '**/contributing-to/'
5959
- '**/maintaining/schemastore'
60+
ignoreWords:
61+
- kbash
62+
- kpolyglot
63+
- FiloSottile
64+
- kgitstatus

.lefthook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pre-commit:
1515
check-linting:
1616
run: ./node_modules/.bin/eslint .
1717
check-shellscript-format:
18-
run: shfmt
18+
run: find . \( -name vendor -prune \) -o \( -name .git -prune \) -o \( -name .data -prune \) -o \( -name shell.d -prune \) -o -name '*.sh' -exec shfmt --write --language-dialect bash --binary-next-line {} +
1919
check-shellscript-lint:
2020
run: find . \( -name vendor -prune \) -o \( -name .git -prune \) -o \( -name .data -prune \) -o \( -name shell.d -prune \) -o -name '*.sh' -exec shellcheck --format gcc {} + | grep -v '\(g_disable\|_shell_original_path\|_private\).*SC2154'
2121
check-yaml-format:

Bakefile.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ task.init() {
1212
git config set --local filter.npmrc.required true
1313
git config set --local filter.oscrc.required true
1414
git config set --local filter.homedir.required true
15-
cat > .clangd <<EOF
15+
cat >.clangd <<EOF
1616
# DO NOT MODIFY! This file is auto-autogenerated from Bakefile.sh.
1717
CompileFlags:
1818
Add: ['-DCONFIG_HOME=$HOME']
1919
EOF
2020
if ! grep -q '.clangd' .git/info/exclude; then
21-
printf '%s\n' '.clangd' >> .git/info/exclude
21+
printf '%s\n' '.clangd' >>.git/info/exclude
2222
fi
2323

2424
if ! mise trust --cd ~/.dotfiles --show mise | grep -q '~/.dotfiles: trusted'; then
@@ -101,8 +101,8 @@ EOF
101101
done
102102

103103
cd "./config-linux-rice/.config/X11/resources" || exit
104-
printf '%s\n' "! GENERATED BY 'bake build'" > uxterm.Xresources
105-
sed 's/XTerm/UXTerm/g' xterm.Xresources >> uxterm.Xresources
104+
printf '%s\n' "! GENERATED BY 'bake build'" >uxterm.Xresources
105+
sed 's/XTerm/UXTerm/g' xterm.Xresources >>uxterm.Xresources
106106

107107
return $err
108108
}

bootstrap-linux.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ main() {
2525
run bash ~/.bootstrap/install-brew.sh
2626
fi
2727
run brew install bash
28+
;;
2829
esac
2930
updatesystem
3031
installcmd 'curl' 'curl'
@@ -41,7 +42,7 @@ main() {
4142
run ln -fs ~/.dotfiles/hscripts ~/
4243

4344
# Export variables.
44-
cat > ~/.bootstrap/bootstrap-out.sh <<EOF
45+
cat >~/.bootstrap/bootstrap-out.sh <<EOF
4546
# shellcheck shell=sh
4647
4748
export NAME='Edwin Kofler'
@@ -120,8 +121,8 @@ updatesystem() {
120121
sudo dnf -y autoremove
121122
elif iscmd 'zypper'; then
122123
sudo zypper -n update
123-
elif iscmd 'brew'; then
124-
brew update
124+
elif iscmd 'brew'; then
125+
brew update
125126
else
126127
die 'Failed to determine package manager'
127128
fi

config-editor/.config/Code/User/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@
434434
"gitlens.advanced.maxSearchItems": 300,
435435
"gitlens.codeLens.includeSingleLineSymbols": true,
436436
"gitlens.codeLens.enabled": false,
437+
"gitlens.rebaseEditor.openOnPausedRebase": false,
437438

438439
//
439440
// UNSORTED EDITOR
@@ -557,5 +558,5 @@
557558
},
558559
],
559560
"workbench.iconTheme": "icons",
560-
"window.autoDetectColorScheme": true
561+
"window.autoDetectColorScheme": true,
561562
}

config-editor/neovim.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ installed() {
5656
nvim_version=${nvim_version%%$'\n'*}
5757
nvim_version=${nvim_version#NVIM v}
5858
nvim_version=${nvim_version%%-*}
59-
IFS='.' read -ra nvim_version_arr <<< "$nvim_version"
60-
(( nvim_version_arr[0] >= 1 || (nvim_version_arr[0] == 0 && nvim_version_arr[1] >= 10) ))
59+
IFS='.' read -ra nvim_version_arr <<<"$nvim_version"
60+
((nvim_version_arr[0] >= 1 || (nvim_version_arr[0] == 0 && nvim_version_arr[1] >= 10)))
6161
}
6262

6363
command -v nvim &>/dev/null && neovim_version_check

config-email/thunderbird.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ install.any() {
88
sudo snap remove "$f"
99
done
1010

11-
1211
# TODO: Should have a "cleanup" for distros that do this.
1312
if command -v snap &>/dev/null; then
1413
if snap info thunderbird &>/dev/null; then
@@ -38,7 +37,7 @@ install.any() {
3837
ln -sf ~/.dotfiles/.data/thunderbird/chrome/icons/default/default46.png ~/.local/share/icons/hicolor/48x48/apps/thunderbird.png
3938
xdg-desktop-menu forceupdate
4039

41-
cat <<EOF > ~/.local/share/applications/thunderbird.desktop
40+
cat <<EOF >~/.local/share/applications/thunderbird.desktop
4241
[Desktop Entry]
4342
Encoding=UTF-8
4443
Name=Thunderbird Mail

config-language/npm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ install.any() {
1111

1212
installed() {
1313
command -v pnpm &>/dev/null
14-
14+
1515
pnpm list --parseable -g --depth=0 | awk -v deps="${g_dependencies[*]}" '
1616
BEGIN {
1717
n = split(deps, arr, " ")

config-linux-core/.config/less/lessopen.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ for file; do
2323
esac
2424

2525
case $file in
26-
*.zip|*.tar|*.tgz|*.gz|*.bz2|*.xz)
26+
*.zip | *.tar | *.tgz | *.gz | *.bz2 | *.xz)
2727
lesspipe "$file"
2828
;;
2929
*)
3030
lesspipe "$file" | $cmd --infer-lang -i "$file"
3131
;;
32-
esac
32+
esac
3333
done

config-linux-rice/.config/dxhd/dxhd.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33
## rofi
44
# super + d
55
rofi -modi drun -show drun
6-
7-

0 commit comments

Comments
 (0)