Fix repo add alias

This commit is contained in:
Marko Korhonen 2023-03-10 13:22:34 +02:00
parent 40612774c0
commit c47a85b539

View file

@ -75,7 +75,7 @@ pr() {
ra() {
SELECTED_PKGS="$(paru -Slqa | fzf --header='Add packages to repo' -m --preview 'paru -Si {1}' | tr '\n' ' ')"
if [ -n "$SELECTED_PKGS" ]; then
cmd="aur -S $SELECTED_PKGS"
cmd="aur sync -S $SELECTED_PKGS"
# Append the expanded command to history
print -s "$cmd"