██╗ █████╗ ███╗ ██╗███████╗ ██╗
██║ ██╔══██╗████╗ ██║██╔════╝ ██║
██║ ███████║██╔██╗ ██║█████╗ ██║
██║ ██╔══██║██║╚██╗██║██╔══╝ ██ ██║
███████╗██║ ██║██║ ╚████║███████╗╚█████╔╝
╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚════╝
██████╗ ██████╗ ████████╗███████╗██╗██╗ ███████╗███████╗
██╔══██╗██╔═══██╗╚══██╔══╝██╔═══╝ ██║██║ ██╔════╝██╔════╝
██║ ██║██║ ██║ ██║ █████╗ ██║██║ █████╗ ███████╗
██║ ██║██║ ██║ ██║ ██╔══╝ ██║██║ ██╔══╝ ╚════██║
██████╔╝╚██████╔╝ ██║ ██║ ██║███████╗███████╗███████║
╚═════╝ ╚════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝
$ git clone https://github.com/lanej/dotfiles.git ~/.files && cd ~/.files
$ make # install configuration files
$ bash bootstrap.sh # install packages$ sh transfer.shArch, Ubuntu, CentOS 8
Disk space management for Rust projects:
Configuration:
sccacheenabled in~/.cargo/config.tomlfor shared compilation caching- Optimized debug builds with reduced debug info (
debug = 1) - Split debug info on macOS to reduce binary sizes
Cleanup Aliases:
cargo-clean-all # Remove ALL target/ directories
cargo-clean-debug # Remove only debug builds, keep release
cargo-clean-old # Clean builds older than 30 days
cargo-cache-clean # Clean ~/.cargo cache
rust-disk # Show top 20 largest target dirs
sccache-stats # Show sccache hit/miss statsMaintenance:
- Run
cargo-clean-debugmonthly - Use
cargo-clean-oldfor automatic cleanup - Check
sccache-statsto monitor cache effectiveness