if (( $+commands[helix] )); then alias helix="helix -c $ZSH_POLYJUICE_HELIX_CONFIG_FILE" alias hx="helix -c $ZSH_POLYJUICE_HELIX_CONFIG_FILE" elif (( $+commands[hx] )); then alias helix="hx -c $zsh_polyjuice_helix_config_file" alias hx="hx -c $zsh_polyjuice_helix_config_file" else alias helix="echo HELIX is not installed" alias hx="echo HELIX/HX is not installed" fi