From fef3def7e2e0d0add6bf68a8b0d2716b3f6a737e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 1 May 2026 18:16:25 +0200 Subject: [PATCH] Just do it --- bin/omarchy-install-helix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-install-helix b/bin/omarchy-install-helix index 3c1f11e0..97de51c2 100755 --- a/bin/omarchy-install-helix +++ b/bin/omarchy-install-helix @@ -22,4 +22,7 @@ if [[ ! -e ~/.config/omarchy/current/theme/helix.toml ]]; then omarchy-theme-refresh fi -echo -e "\nArch-based distros ship Helix as 'helix' rather than the upstream 'hx'. Alias 'hx' to 'helix' in your shell configuration if you prefer the shorter command." +# Arch-based distros ship Helix as 'helix' rather than the upstream 'hx'. +if ! grep -q '^alias hx="helix"' ~/.bashrc 2>/dev/null; then + echo 'alias hx="helix"' >>~/.bashrc +fi