fish-shell/src/builtins
Mahmoud Al-Qudsi 9fddc3e887
Emit only sane pgid value for jobs output (#10833)
We were previously printing the internal `INVALID_PID` value (since removed),
which was a meaningless `-2` constant, when there was no pgid associated with a
job.

This PR changes that to `-` to indicate no pgid available, which I prefer over
something like `0` or `-1`, but will cause problems for code that is hardcoded
to convert this field to an integral value.
2024-11-08 10:33:30 -06:00
..
string Update code and Cargo.toml for recent pcre2-utf32 changes 2024-09-22 17:05:14 -07:00
tests Remove redundant test setup 2024-10-12 13:32:19 +02:00
abbr.rs Update code and Cargo.toml for recent pcre2-utf32 changes 2024-09-22 17:05:14 -07:00
argparse.rs Remove wcstringutil::split_string() 2024-05-21 12:54:52 -05:00
bg.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
bind.rs Remove a few uses of unwrap 2024-05-01 12:58:29 +02:00
block.rs Convert Block::event_blocks to a bool 2024-06-01 13:01:40 -05:00
builtin.rs Rewrite wgetopt.rs to Rustier syntax and naming 2024-04-17 11:26:51 -07:00
cd.rs cd: open directory with O_SEARCH or O_PATH, when the platform supports it 2024-05-11 11:12:29 -07:00
command.rs Rewrite wgetopt.rs to Rustier syntax and naming 2024-04-17 11:26:51 -07:00
commandline.rs edit_command_buffer: speed up setting cursor position by line/column 2024-11-01 20:09:55 +01:00
complete.rs Remove unescape_string_in_place 2024-06-06 17:11:25 +02:00
contains.rs Rewrite wgetopt.rs to Rustier syntax and naming 2024-04-17 11:26:51 -07:00
count.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
disown.rs Remove using statements already imported by preludes 2024-02-28 09:41:51 -06:00
echo.rs Rewrite wgetopt.rs to Rustier syntax and naming 2024-04-17 11:26:51 -07:00
emit.rs Remove widestring-suffix uses 2024-01-13 08:52:54 +01:00
eval.rs Remove parser library_data_pod_t ffi workaround 2024-06-02 20:27:44 -05:00
exit.rs Remove parser library_data_pod_t ffi workaround 2024-06-02 20:27:44 -05:00
fg.rs Make import style less noisy 2024-09-01 14:05:48 +02:00
function.rs Use NonZero types for 1-based line numbers 2024-07-07 20:58:09 -05:00
functions.rs Thread variables into autoload_names 2024-06-23 16:39:39 -07:00
history.rs Rewrite wgetopt.rs to Rustier syntax and naming 2024-04-17 11:26:51 -07:00
jobs.rs Emit only sane pgid value for jobs output (#10833) 2024-11-08 10:33:30 -06:00
math.rs Fix formatting 2024-06-23 18:01:31 -05:00
mod.rs Rewrite wgetopt.rs to Rustier syntax and naming 2024-04-17 11:26:51 -07:00
path.rs path: Remove weird order hack 2024-10-04 16:48:40 +02:00
printf.rs Clean up fish-printf in preparation for publishing 2024-09-21 17:52:11 -07:00
pwd.rs Rewrite wgetopt.rs to Rustier syntax and naming 2024-04-17 11:26:51 -07:00
random.rs Stop using the getrandom feature of the rand crate 2024-10-13 12:39:54 -07:00
read.rs edit_command_buffer: speed up setting cursor position by line/column 2024-11-01 20:09:55 +01:00
realpath.rs Rewrite wgetopt.rs to Rustier syntax and naming 2024-04-17 11:26:51 -07:00
return.rs Remove parser library_data_pod_t ffi workaround 2024-06-02 20:27:44 -05:00
set_color.rs Rewrite wgetopt.rs to Rustier syntax and naming 2024-04-17 11:26:51 -07:00
set.rs Make EnvStackSetResult use Rust naming conventions 2024-06-15 15:57:28 -07:00
shared.rs Remove parser library_data_pod_t ffi workaround 2024-06-02 20:27:44 -05:00
source.rs Builtin source to print error if missing both file argument and piped stdin 2024-10-13 10:44:38 +02:00
status.rs Use NonZero types for 1-based line numbers 2024-07-07 20:58:09 -05:00
string.rs Remove a few uses of unwrap 2024-05-01 12:58:29 +02:00
test.rs Remove a few uses of unwrap 2024-05-01 12:58:29 +02:00
type.rs Rewrite wgetopt.rs to Rustier syntax and naming 2024-04-17 11:26:51 -07:00
ulimit.rs Fix a clippy in ulimit 2024-06-19 10:47:46 -07:00
wait.rs Fix ctrl-c being ignored during builtin wait 2024-09-01 14:08:01 +02:00