Fix repo add alias
This commit is contained in:
parent
2b7479510f
commit
19461430f7
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ pr() {
|
||||||
ra() {
|
ra() {
|
||||||
SELECTED_PKGS="$(paru -Slqa | fzf --header='Add packages to repo' -m --preview 'paru -Si {1}' | tr '\n' ' ')"
|
SELECTED_PKGS="$(paru -Slqa | fzf --header='Add packages to repo' -m --preview 'paru -Si {1}' | tr '\n' ' ')"
|
||||||
if [ -n "$SELECTED_PKGS" ]; then
|
if [ -n "$SELECTED_PKGS" ]; then
|
||||||
cmd="aur -S $SELECTED_PKGS"
|
cmd="aur sync -S $SELECTED_PKGS"
|
||||||
|
|
||||||
# Append the expanded command to history
|
# Append the expanded command to history
|
||||||
print -s "$cmd"
|
print -s "$cmd"
|
||||||
|
|
Loading…
Reference in a new issue