fix(jobs): Count job groups instead of processes for fish (#6899)

---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
Ali Nazzal
2025-09-06 20:13:26 +03:00
committed by GitHub
parent 2c11c086b8
commit 95bf53f6b9
2 changed files with 32 additions and 4 deletions
+9 -1
View File
@@ -2528,7 +2528,7 @@ The default functionality is:
*: This variable can only be used as a part of a style string
### Example
### Examples
```toml
# ~/.config/starship.toml
@@ -2539,6 +2539,14 @@ number_threshold = 4
symbol_threshold = 0
```
#### Changing process grouping behavior in fish
When using the Fish shell, Starship counts **job groups** instead of individual process IDs by default. This prevents overcounting when a pipeline has multiple processes but only one suspended group. To revert to the legacy PID-based counting, please add the following to your shell config:
```fish
set -g __starship_fish_use_job_groups "false"
```
## Julia
The `julia` module shows the currently installed version of [Julia](https://julialang.org/).