4c1e7a7eb9
- Core config layered on CachyOS base with Catppuccin Mocha theming - Fisher plugins: fzf.fish, catppuccin, autopair, replay, puffer-fish, magic-enter, spark - Smart CLI wrappers with fallbacks (bat, lsd, btop, dust, prettyping) - Custom functions: git, docker, network, kitty, AI session management - Extensive abbreviation system for keyboard-driven workflows - Secrets/local sourcing pattern for private and machine-specific config - README with full documentation and personalization guide - AGPLv3+ license with copyright headers on all source files
23 lines
781 B
Fish
23 lines
781 B
Fish
# Copyright (C) 2026 Rootiest
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
function limine-edit --description 'Safely edit and re-verify Limine configuration'
|
|
# 1. Open the config with sudoedit
|
|
sudoedit /boot/limine.conf
|
|
|
|
# 2. Re-enroll the config hash (This prevents the Checksum Panic)
|
|
echo "Enrolling Limine config..."
|
|
sudo limine-enroll-config
|
|
|
|
# 3. Run the CachyOS boot hooks (Updates snapshots/kernel links)
|
|
echo "Running CachyOS boot hooks..."
|
|
sudo limine-mkinitcpio
|
|
|
|
# 4. Sign any unsigned files tracked by sbctl
|
|
# 'sbctl sign-all' will re-apply signatures to everything in the database
|
|
echo "Verifying Secure Boot signatures..."
|
|
sudo sbctl sign-all
|
|
|
|
echo "✅ Limine config updated and verified. Ready for reboot."
|
|
end
|