Commit Graph

35 Commits

Author SHA1 Message Date
Eisuke Kawashima
74b65510e1 improve zsh completion (#2638)
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2025-07-08 15:06:39 +02:00
Daniel Oh
836fc5922a add short option for --repo (#2380)
* add short option for --repo

* run pre-commit

* update man page

* add fish completion

* add a N options

* add long options

---------

Co-authored-by: jguer <me@jguer.space>
2024-06-28 16:40:35 +02:00
Joey Holtzman
d02c45e5b6 Remove deprecated flags in favor of boolean flags (#2350) 2024-01-25 16:03:47 +01:00
Joey Holtzman
04c76a404e feat(install): add --keepsrc to keep pkg/ and src/ directories (#2272)
* feat(install): add --nocleanbuild to keep pkg/ and src/ directories for
AUR packages

Providing this flag during installation of AUR packages allows for keeping
the src/ and pkg/ directories produced my makepkg. If the user wants to
delete the directories, they can either select to cleanBuild in the
cleanmenu or run the installation without the --nocleanbuild flag (yay
will only remove the directories if the package is rebuilt)

* fix(completion): simplify description for --nocleanbuild in fish

This makes the description consistent with the descriptions in the
man page, --help, and zsh completion.

* refactor(install): Rename --nocleanbuild to --keepsrc

This naming scheme is more familiar to users since it is the name of the
flag in Paru.

---------

Co-authored-by: jguer <me@jguer.space>
2023-09-18 09:21:42 +02:00
smolx
adde043514 Add --askyesremovemake option (#2199)
Same as --askremovemake option but with "Y" as a default answer.
2023-06-11 16:13:01 +00:00
Jo
e28319fece chore(yay): lift legacy engine (#2189)
* remove legacy engine

* remove legacy dep handlers

* use prepare for gendb

* remove unused method

* remove aur client old interface

* remove unused menu fns

* remove inactive upgrademenu option

* unexport printInfo
2023-05-24 08:22:18 +00:00
Balki
e09209bb19 fix(zsh): fix zsh completion for yay specific flags (#1893) 2023-01-13 13:50:09 +00:00
moson-mo
647d160182 add option/setting "AurRpcUrl" (#1809)
Signed-off-by: moson-mo <mo-son@mailbox.org>
2022-09-18 00:05:27 +00:00
Jguer
0fdfe79943 Add experimental vote util to yay (#1765)
* feat(vote): add vote utility

* update deps

* add vote and unvote capabilities

* use -W for web ops

* add fish completions

* add bash completion

* add zsh completion

* add md instructions
2022-06-17 16:55:22 +00:00
Matt Alexander
22c165a11f feat(search): add optional setting that formats each search result on a single line, Part II 2021-11-05 09:26:34 +01:00
Matt Alexander
673f077e7f feat(search): add optional setting that formats each search result on a single line 2021-11-05 09:26:34 +01:00
jguer
fd9e2638f9 fix(yay): fix completions of -Gp 2021-01-31 19:07:08 +01:00
jguer
28c985b378 fix(pkgbuild): move pkgbuild to Gp 2021-01-31 19:07:08 +01:00
nycex
d9b440c929 implement yay -Pp option
fix linting errors

format with make fmt

fix completions

resolve most of the requested changes

move loop over dbSlice back into makeRequest

query aur in chunks of 20

check for status codes

continue instead of return in for loop

format code
2021-01-31 19:07:08 +01:00
Maxime Houis
fe091f7578 Fix typo in usage 2020-03-09 15:00:19 +01:00
patatahooligan
558c17f67c Add missing diff completions for zsh 2020-02-25 22:52:15 +01:00
Jguer
410c7e758f Updated zsh and bash completions to pacman 5.2 and yay 9.4.*
Removes tar completions
Removes --owns from bash/zsh
Bash now prints repo pkgs if no letter is entered and AUR and repo if
there's a letter
2019-11-04 17:32:52 +00:00
Jguer
f8e496457c fixed some completions for bash and zsh. Closer to pacman 5.2 2019-10-25 12:01:33 +01:00
Tom Swartz
81dcc339e0 Fix typo in completion text 2019-10-09 10:15:20 -04:00
koksnuss
737ed78eb1 fix typo 2019-02-18 23:39:23 +01:00
morganamilo
4cc57dd970 Rename afterclean to cleanafter
This makes more sense and falls in line with the structs value which has
always been cleanafter. afterclean is still useable for compatibility
but is undocumented.
2018-09-27 16:12:43 +01:00
morganamilo
0657f7e23f Complete -f for -G and --print -> --show 2018-08-30 16:09:08 +01:00
morganamilo
5996e28e32 Use tabs and use pacman-conf over config parsing
This makes our zsh completion more similar to pacmans. Making it easier
to view diffs between the two.
2018-08-30 11:32:14 +01:00
morganamilo
127c5e7cb9 Update shell completion for --aururl 2018-08-30 11:06:03 +01:00
morganamilo
05587c3a1c Update zsh completion 2018-07-30 14:28:14 +01:00
morganamilo
4f1a46eed8 Add bash and zsh completion for new flags 2018-07-01 17:21:54 +01:00
Jguer
21a8569fb0 Add missing editorflags 2018-06-19 10:54:27 +01:00
morganamilo
07b3d76a66 Update bash and zsh completion 2018-06-12 21:33:29 +01:00
Jonas Thiem
976876961b Add completions for --news 2018-05-06 03:31:09 +02:00
Tom Swartz
1c9715dddf Fix typos 2018-04-23 13:06:56 -04:00
morganamilo
6f223786ef Update bash and zsh completion 2018-04-08 21:49:27 +01:00
morganamilo
590030525b Add shell completion for --rebuild* flags 2018-03-27 17:46:04 +01:00
Jguer
eb07acbe6b Fix #292
Signed-off-by: Jguer <me@jguer.space>
2018-03-26 10:18:50 +02:00
Jguer
686509efe3 Fix zsh completions
Signed-off-by: Jguer <me@jguer.space>
2018-03-23 09:01:46 +01:00
Jguer
82124c1b46 Update version for close release
Signed-off-by: Jguer <me@jguer.space>
2018-03-22 17:02:40 +01:00