Skip to content

Commit fe0da70

Browse files
committed
2026-05-01
1 parent 32856c4 commit fe0da70

6 files changed

Lines changed: 30 additions & 9 deletions

File tree

.mise.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[tools]
22
cmake = '3.31.7'
3+
cspell = 'latest'
34
go = '1.24.3'
45
python = '3.14.4'
56
ruby = '3.4.9'
7+
yamlfmt = 'latest'
8+
yamllint = 'latest'

config-editor/.config/zed/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"default_profile": "write",
101101
"play_sound_when_agent_done": true,
102102
"default_model": {
103-
"effort": "high",
103+
"effort": "low",
104104
"enable_thinking": true,
105105
"provider": "copilot_chat",
106106
"model": "claude-sonnet-4.6",

config-shell/bash-kpreexec.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@ install.any() {
99
}
1010

1111
install.configure() {
12-
util.write_promptfile 'kbash-prexec' \
13-
--bash "
14-
if [ -d \"$g_dir\" ]; then
15-
source \"$g_dir/bash-preexec.sh\"
16-
else
17-
_util_log_warn 'Not sourcing rcaloras/bash-preexec'
18-
fi"
12+
util.write_promptfile 'kbash-preexec' \
13+
--bash "source \"$g_dir/bash-preexec.sh\""
1914
}
2015

2116
install.installed() {

docs/installation-unix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The bootstrap script performs the following steps:
4545
- Symlinks `~/scripts` to `~/.dotfiles/scripts`
4646
- Creates `~/.bootstrap/bootstrap-out.sh`. Sourcing it:
4747
- Sets `NAME`, `EMAIL`, `EDITOR`, and `VISUAL`
48-
- Prepends `$HOME/.dotfiles/.data/bin` and `$HOME/.locall/bin` to `PATH`
48+
- Prepends `$HOME/.dotfiles/.data/bin` and `$HOME/.local/bin` to `PATH`
4949
- Sources `~/.dotfiles/config/xdg.sh`, if it exists
5050

5151
## Next Steps

hscripts/doctor.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ main() {
299299
~/scripts/setup/zsh.sh
300300
~/scripts/setup/ksh.sh
301301
~/scripts/setup/rust.sh
302+
~/scripts/setup/usage.sh
302303
~/scripts/setup/mise.sh
303304
~/scripts/setup/neovim.sh
304305
~/scripts/setup/less.sh

setup-devtool/usage.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env bash
2+
source ~/.dotfiles/config/setup.sh
3+
4+
declare -g g_name='usage'
5+
6+
install.any() {
7+
util.get_latest_github_release 'jdx/usage'
8+
local version="$REPLY"
9+
10+
curl -K "$CURL_CONFIG" -o 'usage.tar.gz' \
11+
"https://github.com/jdx/usage/releases/download/$version/usage-x86_64-unknown-linux-musl.tar.gz"
12+
tar xf 'usage.tar.gz'
13+
14+
mv './usage' ~/.local/bin/
15+
mv './usage.1' "$XDG_DATA_HOME/man/man1"
16+
}
17+
18+
install.installed() {
19+
command -v usage &>/dev/null
20+
}
21+
22+
util.if_file_sourced || _setup "$@"

0 commit comments

Comments
 (0)