From ea253fa75488eb7b12b5ddcb56b3c9247d27e6a5 Mon Sep 17 00:00:00 2001 From: FlUxIuS Date: Mon, 9 Dec 2024 17:14:15 +0100 Subject: [PATCH] Alias for Archlinux and others --- common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.sh b/common.sh index fd05330..c0d645c 100644 --- a/common.sh +++ b/common.sh @@ -452,7 +452,7 @@ install_binary_alias() { echo "alias $alias_name='$BINARY_PATH'" >> "$ALIAS_FILE" # Add the alias for the root user to use with sudo - echo "alias $alias_name='/usr/local/bin/rfswift'" | sudo tee -a /root/.bashrc > /dev/null + echo "alias $alias_name='$BINARY_PATH'" | sudo tee -a /root/.bashrc > /dev/null # Skip sourcing for Zsh and inform the user if [ "$SHELL_NAME" = "zsh" ]; then