fish-shell/src
Fabian Boehm dde2d33098 set --show: Show the originally inherited value, if any
This adds a line to `set --show`s output like

```
$PATH: originally inherited as |/home/alfa/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/flatpak/exports/bin|
```

to help with debugging.

Note that this means keeping an additional copy of the original
environment around. At most this would be one ARG_MAX's worth, which
is about 2M.
2022-06-27 20:33:26 +02:00
..
builtins set --show: Show the originally inherited value, if any 2022-06-27 20:33:26 +02:00
widecharwidth Update widecharwidth 2022-02-14 22:19:28 +01:00
ast_node_types.inc
ast.cpp fix cppcheck missing return errors 2022-04-08 17:59:09 -07:00
ast.h fix cppcheck missing return errors 2022-04-08 17:59:09 -07:00
autoload.cpp Reimplement autosuggestion-triggered completion loading 2022-06-19 15:15:17 -07:00
autoload.h Reimplement autosuggestion-triggered completion loading 2022-06-19 15:15:17 -07:00
builtin.cpp Move path to src/builtins 2022-05-29 17:48:11 +02:00
builtin.h Clarify that the variable/mode *name* is invalid 2022-04-08 16:38:46 +02:00
color.cpp Simplify ASSERT_SORT_ORDER 2021-07-15 13:15:24 -07:00
color.h Refactor color.h/color.cpp 2021-02-08 15:16:21 -06:00
common.cpp Replace a bunch of ASSERT_IS_MAIN_THREAD 2022-06-20 12:31:36 -07:00
common.h Remove debug_shared 2022-06-16 15:43:42 +02:00
complete.cpp Replace a bunch of ASSERT_IS_MAIN_THREAD 2022-06-20 12:31:36 -07:00
complete.h Reimplement autosuggestion-triggered completion loading 2022-06-19 15:15:17 -07:00
enum_map.h enum_map stuff to enum_map.h 2021-10-01 03:39:43 -07:00
enum_set.h Tighten up includes, some typedefs -> using 2021-09-21 18:05:53 -07:00
env_dispatch.cpp Try to use xterm{-256color,} if $TERM could not be used 2022-06-21 21:12:04 +02:00
env_dispatch.h Try to rationalize universal variable syncing 2022-05-30 14:09:06 -07:00
env_universal_common.cpp Stop migrating legacy uvar paths 2022-03-17 18:15:11 +01:00
env_universal_common.h Stop migrating legacy uvar paths 2022-03-17 18:15:11 +01:00
env.cpp set --show: Show the originally inherited value, if any 2022-06-27 20:33:26 +02:00
env.h set --show: Show the originally inherited value, if any 2022-06-27 20:33:26 +02:00
event.cpp Stop removing unfired one-shot handlers 2022-06-06 12:18:29 -07:00
event.h Stop removing unfired one-shot handlers 2022-06-06 12:18:29 -07:00
exec.cpp Replace a bunch of ASSERT_IS_MAIN_THREAD 2022-06-20 12:31:36 -07:00
exec.h exec.h: remove unused declaration 2021-09-24 09:30:25 -07:00
expand.cpp Rationalize tilde unexpansion 2022-04-10 13:41:21 -07:00
expand.h Rationalize tilde unexpansion 2022-04-10 13:41:21 -07:00
fallback.cpp Remove wcsndup and wcslcpy 2022-03-17 18:15:11 +01:00
fallback.h Remove wcsndup and wcslcpy 2022-03-17 18:15:11 +01:00
fd_monitor.cpp Correct bug causing early teardown of fd_monitor 2022-03-31 20:41:58 -07:00
fd_monitor.h Correct bug causing early teardown of fd_monitor 2022-03-31 20:41:58 -07:00
fds.cpp Allow using poll() to check for readability 2022-01-02 16:36:33 -08:00
fds.h Allow using poll() to check for readability 2022-01-02 16:36:33 -08:00
fish_indent.cpp Clean up woption 2022-04-02 11:28:30 -07:00
fish_key_reader.cpp Clean up woption 2022-04-02 11:28:30 -07:00
fish_test_helper.cpp Teach fish_test_helper to sigint_self 2022-05-28 16:08:17 -07:00
fish_tests.cpp proc.cpp, fish_tests.cpp: use snprintf() 2022-06-25 16:27:04 -07:00
fish_version.cpp Fix build 2021-09-21 18:33:14 -07:00
fish_version.h
fish.cpp Clear signals after running initial commands 2022-06-20 13:28:58 -07:00
flog.cpp Migrate remaining calls from debug_safe to FLOGF_SAFE 2021-07-05 15:47:56 -07:00
flog.h Migrate remaining calls from debug_safe to FLOGF_SAFE 2021-07-05 15:47:56 -07:00
function.cpp Replace a bunch of ASSERT_IS_MAIN_THREAD 2022-06-20 12:31:36 -07:00
function.h Reimplement autosuggestion-triggered completion loading 2022-06-19 15:15:17 -07:00
future_feature_flags.cpp clang-format C++ files 2022-06-01 10:02:09 -07:00
future_feature_flags.h Force stderr-nocaret feature flag on 2022-04-15 13:42:38 +02:00
global_safety.h Replace a bunch of ASSERT_IS_MAIN_THREAD 2022-06-20 12:31:36 -07:00
highlight.cpp Initialize variable 2022-05-11 21:28:26 +02:00
highlight.h clang-format C++ files 2022-06-01 10:02:09 -07:00
history_file.cpp Correct a cast when measuring history file size 2022-04-01 10:25:05 -07:00
history_file.h Introduce noncopyable_t and nonmovable_t 2021-07-23 11:19:42 -07:00
history.cpp Switch path_get_data_is_remote to returning a real class enum 2021-12-18 20:48:13 -08:00
history.h clang-format C++ files 2022-06-01 10:02:09 -07:00
input_common.cpp Replace a bunch of ASSERT_IS_MAIN_THREAD 2022-06-20 12:31:36 -07:00
input_common.h Improve newline behavior of kill-whole-line 2022-06-04 13:45:25 -07:00
input.cpp Replace a bunch of ASSERT_IS_MAIN_THREAD 2022-06-20 12:31:36 -07:00
input.h Try to rationalize universal variable syncing 2022-05-30 14:09:06 -07:00
intern.cpp
intern.h
io.cpp clang-format C++ files 2022-06-01 10:02:09 -07:00
io.h clang-format C++ files 2022-06-01 10:02:09 -07:00
iothread.cpp Remove iothread drain flag 2022-06-19 15:15:20 -07:00
iothread.h Remove iothread drain flag 2022-06-19 15:15:20 -07:00
job_group.cpp Remove cancellation groups 2022-03-20 14:39:00 -07:00
job_group.h Remove cancellation groups 2022-03-20 14:39:00 -07:00
kill.cpp Make the kill ring thread-safe 2021-04-21 17:37:44 -07:00
kill.h Implementation of variable with killring entries 2021-04-21 16:39:29 -07:00
lru.h Reimplement autosuggestion-triggered completion loading 2022-06-19 15:15:17 -07:00
maybe.h maybe.h: reference header new 2021-08-17 18:57:16 -05:00
null_terminated_array.cpp Rework null terminated arrays 2021-03-28 15:31:25 -07:00
null_terminated_array.h Introduce noncopyable_t and nonmovable_t 2021-07-23 11:19:42 -07:00
operation_context.cpp Allow specifying a limit on number of expansion in operation_context 2020-12-22 12:38:51 -08:00
operation_context.h Expand more when performing history path detection 2021-01-08 12:58:34 -08:00
output.cpp Fix tparm kludge 2022-03-14 15:36:17 +01:00
output.h Tighten up includes, some typedefs -> using 2021-09-21 18:05:53 -07:00
pager.cpp Wrap even more stuff in anonymous namespaces 2021-09-30 11:33:03 -07:00
pager.h Revert "Attempt to simplify how completions get presented in the pager" 2020-12-04 16:44:48 +01:00
parse_constants.h Use source_offset_t (uint32) in tokenizer. 2021-12-21 02:32:52 -08:00
parse_execution.cpp clang-format C++ files 2022-06-01 10:02:09 -07:00
parse_execution.h parse_execution: remove unused 'job' parameters 2022-04-07 09:36:54 -07:00
parse_tree.cpp Rename EXEC_ERR_MSG to INVALID_PIPELINE_CMD_ERR_MSG 2022-03-31 15:49:15 -07:00
parse_tree.h Rename EXEC_ERR_MSG to INVALID_PIPELINE_CMD_ERR_MSG 2022-03-31 15:49:15 -07:00
parse_util.cpp Remove the is_first parameter from tok_is_string_character 2022-04-16 10:47:01 -07:00
parse_util.h Fix regression expanding \$() 2022-04-03 15:54:08 +02:00
parser_keywords.cpp docs: list reserved keywords 2022-06-16 19:45:55 +10:00
parser_keywords.h Remove unused functions, members (and a variable) 2022-04-09 10:10:44 -07:00
parser.cpp Stop initializing principal parser at global scope 2022-06-20 12:31:36 -07:00
parser.h Stop initializing principal parser at global scope 2022-06-20 12:31:36 -07:00
path.cpp Rationalize path-getting 2022-04-23 15:24:27 -07:00
path.h Rationalize path-getting 2022-04-23 15:24:27 -07:00
postfork.cpp clang-format C++ files 2022-06-01 10:02:09 -07:00
postfork.h Refactor tty transfer to be more deliberate 2022-03-19 14:48:36 -07:00
print_help.cpp
print_help.h
proc.cpp proc.cpp, fish_tests.cpp: use snprintf() 2022-06-25 16:27:04 -07:00
proc.h Correctly fire process_exit events even if the job has not yet exited 2022-05-08 15:27:25 -07:00
reader.cpp Replace a bunch of ASSERT_IS_MAIN_THREAD 2022-06-20 12:31:36 -07:00
reader.h Rename check_cancel_from_fish_signal to fish_is_unwinding_for_exit 2022-05-28 16:35:40 -07:00
redirection.cpp
redirection.h Introduce noncopyable_t and nonmovable_t 2021-07-23 11:19:42 -07:00
screen.cpp trivial cleanup 2022-04-08 17:59:09 -07:00
screen.h Restyle codebase with clang-format 2021-11-08 12:21:11 -08:00
signal.cpp Allow trapping SIGINT and SIGTERM in scripts 2022-05-28 17:44:13 -07:00
signal.h Restyle codebase with clang-format 2021-11-08 12:21:11 -08:00
termsize.cpp Include <termios.h> instead of <sys/termios.h>. 2021-03-02 12:05:07 +01:00
termsize.h
timer.cpp clang-format C++ files 2022-06-01 10:02:09 -07:00
timer.h Pass some parameters by reference/move 2021-03-21 19:41:36 +01:00
tinyexpr.cpp Merge branch 'master' into te-refactor 2022-03-13 11:24:31 +01:00
tinyexpr.h math: Use wchar 2020-12-14 22:54:53 +01:00
tokenizer.cpp Remove the is_first parameter from tok_is_string_character 2022-04-16 10:47:01 -07:00
tokenizer.h Remove the is_first parameter from tok_is_string_character 2022-04-16 10:47:01 -07:00
topic_monitor.cpp Allow using poll() to check for readability 2022-01-02 16:36:33 -08:00
topic_monitor.h Revert "Replace some simple loops with STL algorithms" 2022-04-09 12:12:16 -07:00
trace.cpp Restyle codebase with clang-format 2021-11-08 12:21:11 -08:00
trace.h Cache if tracing is enabled 2021-10-28 19:39:30 +02:00
utf8.cpp
utf8.h
util.cpp wcsfilecmp: Stop actually computing the numbers 2021-10-07 17:57:52 +02:00
util.h
wait_handle.cpp Refactor wait handles 2021-05-17 15:25:21 -07:00
wait_handle.h Mild refactoring of wait handles 2021-10-28 10:37:43 -07:00
wcstringutil.cpp Remove unused functions, members (and a variable) 2022-04-09 10:10:44 -07:00
wcstringutil.h Remove unused functions, members (and a variable) 2022-04-09 10:10:44 -07:00
wgetopt.cpp Make arguments to builtins const 2021-03-28 15:31:25 -07:00
wgetopt.h Clean up woption 2022-04-02 11:28:30 -07:00
wildcard.cpp Clean up wildcard_has 2021-11-27 12:48:04 -08:00
wildcard.h Clean up wildcard_has 2021-11-27 12:48:04 -08:00
wutil.cpp clang-format C++ files 2022-06-01 10:02:09 -07:00
wutil.h Overload fish_wcstod for wcstring and length 2022-03-25 16:06:10 +01:00