From 69ca2dd73be206f10363ce8d918ffec4fbafb953 Mon Sep 17 00:00:00 2001 From: mitchell Date: Mon, 27 Jul 2026 00:39:24 -0400 Subject: [PATCH] chore: update arch scripts and add `vc` alias --- archiso/install_arch | 2 +- fish/dot-config/fish/conf.d/define_aliases.fish | 1 + install_utils | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/archiso/install_arch b/archiso/install_arch index cdb6bfc..adc61dd 100755 --- a/archiso/install_arch +++ b/archiso/install_arch @@ -95,7 +95,7 @@ function set_locale sed -i 's/#en_US.UTF-8/en_US.UTF-8/' /etc/locale.gen locale-gen echo 'LANG=en_US.UTF-8' >/etc/locale.conf - touch /etc/vconsole.conf + echo 'KEYMAP=us' >/etc/vconsole.conf end function set_hostname -a new_hostname diff --git a/fish/dot-config/fish/conf.d/define_aliases.fish b/fish/dot-config/fish/conf.d/define_aliases.fish index 0ffc08b..d82dfbd 100644 --- a/fish/dot-config/fish/conf.d/define_aliases.fish +++ b/fish/dot-config/fish/conf.d/define_aliases.fish @@ -19,5 +19,6 @@ if status is-interactive alias vv 'virt-viewer' alias vi 'virt-install' alias vs 'virsh' + alias vc 'virsh console' end end diff --git a/install_utils b/install_utils index ea78f05..5e7bc18 100755 --- a/install_utils +++ b/install_utils @@ -56,6 +56,7 @@ arch) sudo pacman --sync --refresh --sysupgrade --noconfirm sudo pacman --sync --needed --noconfirm base-devel go bat + cd /tmp if [ ! -d "yay" ]; then git clone https://aur.archlinux.org/yay.git fi @@ -69,9 +70,10 @@ arch) echo "Installation aborted." exit 1 fi - cd .. log 'Installing packages with yay' + yay -Y --save --devel + yay -Y --save --answerdiff All yay --sync --noconfirm "${arch_pkgs[@]}" ;; debian | ubuntu)