From ec1e62029d573ecb05fa4ac0acb84e3b57c60ef7 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Thu, 26 Feb 2026 23:48:24 -0600 Subject: [PATCH] relate: 5f31ea7f --RELATED_TO--> c292afbb --- ...s-symlink-repo-at-caldotfiles-on-gitea-5f31ea.md | 7 ++++++- ...TED_TO--fix-bash-var-returns-exit-code-5f5d8b.md | 13 +++++++++++++ ...s-exit-code-1-with-set-e-when-var-is-0-c292af.md | 8 +++++++- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 graph/edges/dotfiles-symlink-repo-at-caldo--RELATED_TO--fix-bash-var-returns-exit-code-5f5d8b.md diff --git a/graph/configurations/dotfiles-symlink-repo-at-caldotfiles-on-gitea-5f31ea.md b/graph/configurations/dotfiles-symlink-repo-at-caldotfiles-on-gitea-5f31ea.md index c7da48b0cbb..f6dbba1f3d1 100644 --- a/graph/configurations/dotfiles-symlink-repo-at-caldotfiles-on-gitea-5f31ea.md +++ b/graph/configurations/dotfiles-symlink-repo-at-caldotfiles-on-gitea-5f31ea.md @@ -6,13 +6,18 @@ tags: [dotfiles, symlink, workstation, gitea, configuration, claude-home] importance: 0.7 confidence: 0.8 created: "2026-02-27T05:47:49.295906+00:00" -updated: "2026-02-27T05:48:21.730677+00:00" +updated: "2026-02-27T05:48:24.648974+00:00" relations: - target: 4479674f-16de-4cfb-afc1-73042d4ab8db type: RELATED_TO direction: outgoing strength: 0.9 edge_id: b1d439b6-456f-4271-bd16-0d612564e7f4 + - target: c292afbb-9b99-4628-8836-7a8d00c797e5 + type: RELATED_TO + direction: outgoing + strength: 0.8 + edge_id: 5f5d8b39-4f75-4099-bcc6-e2aa87ec3d2b --- # Dotfiles Symlink Repo — cal/dotfiles diff --git a/graph/edges/dotfiles-symlink-repo-at-caldo--RELATED_TO--fix-bash-var-returns-exit-code-5f5d8b.md b/graph/edges/dotfiles-symlink-repo-at-caldo--RELATED_TO--fix-bash-var-returns-exit-code-5f5d8b.md new file mode 100644 index 00000000000..221300e6a5b --- /dev/null +++ b/graph/edges/dotfiles-symlink-repo-at-caldo--RELATED_TO--fix-bash-var-returns-exit-code-5f5d8b.md @@ -0,0 +1,13 @@ +--- +id: 5f5d8b39-4f75-4099-bcc6-e2aa87ec3d2b +type: RELATED_TO +from_id: 5f31ea7f-9b53-427d-b601-ab98dabaa2e3 +from_title: "Dotfiles symlink repo at cal/dotfiles on Gitea" +to_id: c292afbb-9b99-4628-8836-7a8d00c797e5 +to_title: "Fix: Bash ((var++)) returns exit code 1 with set -e when var is 0" +strength: 0.8 +created: "2026-02-27T05:48:24.648974+00:00" +updated: "2026-02-27T05:48:24.648974+00:00" +--- + +((var++)) bug with set -e was discovered while writing dotfiles install.sh scripts diff --git a/graph/fixes/fix-bash-var-returns-exit-code-1-with-set-e-when-var-is-0-c292af.md b/graph/fixes/fix-bash-var-returns-exit-code-1-with-set-e-when-var-is-0-c292af.md index 876c63e5ca1..6fb22d94f58 100644 --- a/graph/fixes/fix-bash-var-returns-exit-code-1-with-set-e-when-var-is-0-c292af.md +++ b/graph/fixes/fix-bash-var-returns-exit-code-1-with-set-e-when-var-is-0-c292af.md @@ -6,7 +6,13 @@ tags: [bash, scripting, debugging, fix, set-e, arithmetic, dotfiles] importance: 0.6 confidence: 0.8 created: "2026-02-27T05:47:56.914678+00:00" -updated: "2026-02-27T05:47:56.914678+00:00" +updated: "2026-02-27T05:48:24.648974+00:00" +relations: + - target: 5f31ea7f-9b53-427d-b601-ab98dabaa2e3 + type: RELATED_TO + direction: incoming + strength: 0.8 + edge_id: 5f5d8b39-4f75-4099-bcc6-e2aa87ec3d2b --- # Bash Arithmetic Pitfall: ((var++)) with set -e