Files
fish-config/functions/limine-edit.fish
T
rootiest 4c1e7a7eb9 feat: initial fish shell configuration
- 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
2026-04-26 01:37:38 -04:00

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