mirror of
https://github.com/Jguer/yay
synced 2024-08-31 05:39:29 +00:00
Store completions in yay's cache folder instead of build directory
This commit is contained in:
parent
c5c2e906d3
commit
5fa3557817
4
cmd.go
4
cmd.go
|
@ -206,9 +206,9 @@ func handlePrint() (err error) {
|
|||
case cmdArgs.existsArg("w", "news"):
|
||||
err = printNewsFeed()
|
||||
case cmdArgs.existsDouble("c", "complete"):
|
||||
err = completion.Show(alpmHandle, config.AURURL, config.BuildDir, config.CompletionInterval, true)
|
||||
err = completion.Show(alpmHandle, config.AURURL, cacheHome, config.CompletionInterval, true)
|
||||
case cmdArgs.existsArg("c", "complete"):
|
||||
err = completion.Show(alpmHandle, config.AURURL, config.BuildDir, config.CompletionInterval, false)
|
||||
err = completion.Show(alpmHandle, config.AURURL, cacheHome, config.CompletionInterval, false)
|
||||
case cmdArgs.existsArg("s", "stats"):
|
||||
err = localStatistics()
|
||||
default:
|
||||
|
|
|
@ -316,7 +316,7 @@ func install(parser *arguments) (err error) {
|
|||
}
|
||||
}
|
||||
|
||||
go completion.Update(alpmHandle, config.AURURL, config.BuildDir, config.CompletionInterval, false)
|
||||
go completion.Update(alpmHandle, config.AURURL, cacheHome, config.CompletionInterval, false)
|
||||
|
||||
err = downloadPkgbuildsSources(do.Aur, incompatible)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue