Files
cshenv/tcshrc.system.FreeBSD
adam 6788feba34 Directory caches.
This uses a rudimentary CPU speed check at launch to gate larger
cache sizes.  (This is on the theory that older systems or those
with weaker CPUs will struggle to walk the cache.)
2026-07-30 03:51:44 -04:00

26 lines
530 B
Tcsh

_debug "Sourcing tcshrc.system.FreeBSD..."
set cshenv_sort_can_shuffle
set cshenv_speed_estimate=( `sysctl dev.cpu.0.freq` )
set cshenv_speed_estimate="${cshenv_speed_estimate[2]}"
if( ${cshenv_speed_estimate} > 400 ) then
set cshenv_gitdir_cache_size=256
endif
# Set the acknowledgement bit, essentially
setenv CSHENV_SYSTEM_CONFIGURED FreeBSD
setenv LESS -erF
setenv PAGER less
alias printf gprintf
_debug "Done sourcing tcshrc.system.FreeBSD..."
###########################
# vim: ft=tcsh
###########################