summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2026-05-02 21:57:50 +0800
committerXiao Pan <xyz@flylightning.xyz>2026-05-02 21:57:50 +0800
commit6f2e957e232a44142988740483162c944dfca823 (patch)
tree144610046751bdd2f9db63ac80f91856f2930bda
parent0396d7c718709fd89224e8d1832264ba501b8faa (diff)
pacdiff
It uses `# vim:set ft=sh:` instead of `# vim:set ft=sh` as modeline, by reading `:h modeline` it seems the former version is more compatible with vi. The commit see: https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/commit/a0435c1d880c45595471e369556acb0a6a698427
-rw-r--r--etc/mkinitcpio.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/mkinitcpio.conf b/etc/mkinitcpio.conf
index 86f13bb0..a4be7822 100644
--- a/etc/mkinitcpio.conf
+++ b/etc/mkinitcpio.conf
@@ -1,4 +1,4 @@
-# vim:set ft=sh
+# vim:set ft=sh:
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
@@ -48,7 +48,7 @@ FILES=()
# HOOKS=(base udev microcode modconf block lvm2 filesystems fsck)
#
## This will create a systemd based initramfs which loads an encrypted root filesystem.
-# HOOKS=(base systemd autodetect microcode modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)
+# HOOKS=(base systemd autodetect microcode modconf kms keyboard sd-vconsole block sd-encrypt filesystems fsck)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr and fsck hooks.