cb8b093564
Internal Red Bear subprojects (tlc, redbear-*, redbear-greeter, etc.) live under local/recipes/* and have no upstream source — they are committed to our own gitea only. If lost, they cannot be recovered from any public source. The previous guard used is_local_overlay() && !redbear_allow_local_unfetch() which could be bypassed by setting REDBEAR_ALLOW_LOCAL_UNFETCH=1. This was triggered inadvertently (exact trigger unknown) and destroyed the source tree of local/recipes/tui/tlc/source/. This commit makes the protection UNCONDITIONAL: - is_local_overlay() already correctly identifies any path under local/recipes/ as internal. - The handle_clean unfetch path now refuses ALL local/recipes/* sources with a clear error message. No env var can override this. - The fetch() path's git-reset/git-clean-ffdx and source-wipe guards now also refuse local overlays unconditionally. - The dead redbear_allow_local_unfetch() function is removed. - Makefile distclean-nuclear target is documented as a no-op for local/. distclean still works for non-local recipes (upstream sources from sources/redbear-0.1.0/ or git mirrors can be safely re-fetched).
49 lines
906 B
TOML
49 lines
906 B
TOML
# Default TLC config. Used when no user config exists at
|
|
# `~/.config/tlc/config.toml`. See PLAN.md §4 for the schema.
|
|
|
|
[filemanager]
|
|
show_hidden = false
|
|
sort_field = "name"
|
|
sort_reverse = false
|
|
show_backups = true
|
|
layout = "horizontal" # or "vertical"
|
|
history_depth = 50
|
|
|
|
[editor]
|
|
word_wrap = true
|
|
show_line_numbers = false
|
|
tab_width = 4
|
|
save_with_backup = true
|
|
auto_indent = true
|
|
undo_depth = 32768
|
|
|
|
[viewer]
|
|
wrap = true
|
|
hex_for_binary = false
|
|
max_file_size = 0 # 0 = unlimited
|
|
|
|
[skin]
|
|
name = "default-dark"
|
|
truecolor = true
|
|
|
|
[vfs]
|
|
ftp_passive = true
|
|
sftp_keepalive = 30
|
|
connection_timeout = 30
|
|
|
|
[runtime]
|
|
show_hidden = false
|
|
equal_split = true
|
|
show_menubar = true
|
|
show_keybar = true
|
|
show_hintbar = true
|
|
show_cmdline = true
|
|
mark_moves_down = true
|
|
mix_all_files = false
|
|
show_mini_status = true
|
|
esc_exit_mode = true
|
|
verbose_ops = false
|
|
auto_save_setup = false
|
|
safe_delete = true
|
|
pause_after_run = false
|