mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
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:
@@ -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/).
|
||||
|
||||
Reference in New Issue
Block a user