punkfairie
91ce6c48d6
Update .config/fish/conf.d/20-gpg.fish Update .config/fish/conf.d/30-chezmoi.fish Update .config/fish/conf.d/30-eza.fish Update .config/fish/conf.d/30-fzf.fish Update .config/fish/conf.d/30-git.fish Update .config/fish/conf.d/30-go.fish Update .config/fish/conf.d/30-journalctl.fish Update .config/fish/conf.d/30-lazygit.fish Update .config/fish/conf.d/30-less.fish Update .config/fish/conf.d/30-php.fish Remove .config/fish/conf.d/30-polybar.fish Update .config/fish/conf.d/30-systemctl.fish Update .config/fish/conf.d/30-volta.fish Update .config/fish/conf.d/30-wget.fish Update .config/fish/conf.d/30-yay.fish Update .config/fish/conf.d/30-bitwarden.fish Update .config/topgrade.d/01-commands.toml
15 lines
486 B
Fish
15 lines
486 B
Fish
#!/usr/bin/env fish
|
|
|
|
if command -v yay
|
|
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
|