dotfiles/dot_config/fish/conf.d/30-yay.fish

16 lines
498 B
Fish
Raw Normal View History

2024-04-14 18:41:15 -07:00
#!/usr/bin/env fish
2024-10-02 21:02:03 -07:00
if command -v yay &>/dev/null
abbr -a y --position command yay
abbr -a yi --position command "yay -S"
abbr -a yr --position command "yay -R"
abbr -a yc --position command "yay -Sc"
abbr -a yu --position command "yay -Syu"
abbr -a ys --position command "yay -Ss"
abbr -a ysi --position command "yay -Qs"
function yay-group-missing --argument-names group
comm -23 <(yay -Sg $group | awk '{print $2}' | sort) <(yay -Qq | sort)
end
end