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