Koury Lape
da8e296b1c
Fix/dotfiles fish compatibility (#682)
## Description
The dotfiles module does not work when using non-POSIX shells i.e. Fish.
## Type of Change
- [ ] New module
- [ ] New template
- [x] Bug fix
- [x] Feature/enhancement
- [ ] Documentation
- [ ] Other
## Module Information
**Path:** `registry/coder/modules/dotfiles`
**New version:** `v1.4.1`
**Breaking change:** [ ] Yes [ ] No
## Testing & Validation
- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun fmt`)
- [x] Changes tested locally
```
bun test v1.3.8 (b64edcb4)
registry/coder/modules/dotfiles/main.test.ts:
✓ dotfiles > required variables [190.40ms]
✓ dotfiles > missing variable: agent_id [43.12ms]
✓ dotfiles > default output [150.15ms]
✓ dotfiles > set a default dotfiles_uri [159.14ms]
✓ dotfiles > command uses bash for fish shell compatibility [164.08ms]
✓ dotfiles > set custom order for coder_parameter [166.50ms]
6 pass
0 fail
7 expect() calls
Ran 6 tests across 1 file. [1184.00ms]
```
I tested this with a new workspace on Coder v2.27.3 with fish, zsh, and
bash.
---------
Co-authored-by: DevCats <christofer@coder.com>
Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com>
2026-03-20 10:42:34 -05:00
..
2026-02-13 22:05:21 +05:30
2026-03-11 20:01:50 +05:30
2026-03-05 09:27:01 +00:00
2025-11-26 13:37:19 -06:00
2025-11-26 13:37:19 -06:00
2025-11-26 13:37:19 -06:00
2026-02-24 05:20:27 +00:00
2025-07-22 19:48:01 -05:00
2025-07-22 19:48:01 -05:00
2026-03-13 12:43:31 -05:00
2026-02-27 11:15:47 -06:00
2025-11-26 13:37:19 -06:00
2026-02-24 05:20:27 +00:00
2026-03-03 15:01:05 -06:00
2026-03-20 10:42:34 -05:00
2025-12-31 11:40:52 +00:00
2025-07-22 19:48:01 -05:00
2025-07-22 19:48:01 -05:00
2025-12-15 11:19:11 -06:00
2025-11-26 13:37:19 -06:00
2026-02-04 09:34:02 -06:00
2026-01-05 14:59:06 -06:00
2025-11-26 13:37:19 -06:00
2025-11-26 13:37:19 -06:00
2026-02-18 08:11:20 +00:00
2026-01-15 01:22:37 +05:00
2025-11-26 13:37:19 -06:00
2025-12-02 13:17:39 -06:00
2025-11-26 13:37:19 -06:00
2026-03-06 07:45:33 -06:00
2025-11-26 13:37:19 -06:00
2026-02-04 09:10:27 +05:00
2026-02-11 07:34:37 +00:00
2026-02-24 05:20:27 +00:00
2025-11-26 13:37:19 -06:00
2026-03-13 09:16:38 -05:00
2025-11-26 13:37:19 -06:00
2026-03-17 10:07:35 +01:00
2025-11-26 13:37:19 -06:00
2025-11-27 12:00:04 +05:00
2025-12-31 09:04:47 +05:00
2025-11-27 12:00:04 +05:00
2025-11-27 12:00:04 +05:00
2025-11-27 12:00:04 +05:00
2026-02-24 05:20:27 +00:00
2026-02-24 01:57:35 +01:00
2026-03-03 11:30:32 -06:00
2025-11-26 13:37:19 -06:00
2026-02-24 05:20:27 +00:00
2025-12-17 16:17:06 -06:00