mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
@@ -512,6 +512,9 @@ static void show_scope(const wchar_t *var_name, int scope, io_streams_t &streams
|
||||
wcstring_list_t vals = var->as_list();
|
||||
streams.out.append_format(_(L"$%ls: set in %ls scope, %ls,%ls with %d elements\n"), var_name,
|
||||
scope_name, exportv, pathvarv, vals.size());
|
||||
if (var->read_only()) {
|
||||
streams.out.append(_(L"Variable is read-only\n"));
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < vals.size(); i++) {
|
||||
if (vals.size() > 100) {
|
||||
|
||||
Reference in New Issue
Block a user