Skip to content

Commit

Permalink
Alias for Archlinux and others
Browse files Browse the repository at this point in the history
  • Loading branch information
FlUxIuS committed Dec 9, 2024
1 parent fab764d commit ea253fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea253fa

Please sign in to comment.