1
0
mirror of https://gitea.com/gitea/tea.git synced 2024-12-22 00:55:06 +01:00
gitea-tea/cmd
nukuta 546fcc16de Handle XDG directories with spaces in autocomplete commands ()
On some OSs ([i.e. macOS](https://github.com/adrg/xdg#xdg-base-directory)), XDG directories contain spaces, so we need to wrap the resulting path used in autocomplete sourcing commands in quotation marks.

Co-authored-by: Matthew Daley <mattd@bugfuzz.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/383
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Co-authored-by: nukuta <nukuta@noreply.gitea.io>
Co-committed-by: nukuta <nukuta@noreply.gitea.io>
2021-07-24 00:14:23 +08:00
..
flags Fix parsing of --description for issue/pr create () 2021-07-03 23:23:38 +08:00
issues Add more issue / pr creation params () 2021-03-08 19:48:03 +08:00
labels Add missing flags () 2021-06-22 22:23:09 +08:00
login Add more command shorthands () 2020-12-17 00:47:40 +08:00
milestones Add tea issues --fields, allow printing labels () 2020-12-21 23:41:07 +08:00
organizations Add missing flags () 2021-06-22 22:23:09 +08:00
pulls Add tea pr merge () 2021-03-18 03:56:05 +08:00
releases Update Vendors () 2021-03-05 18:06:25 +08:00
repos Add tea issues --fields, allow printing labels () 2020-12-21 23:41:07 +08:00
times Improve tea time () 2020-12-23 12:58:36 +08:00
autocomplete.go Handle XDG directories with spaces in autocomplete commands () 2021-07-24 00:14:23 +08:00
categories.go Proper help text & new README structure () 2020-12-21 21:37:20 +08:00
comment.go tea comment: handle piped stdin () 2021-03-01 01:47:36 +08:00
issues.go Add tea comment and show comments of issues/pulls () 2020-12-22 00:07:35 +08:00
labels.go Add missing flags to org & labels subcommands () 2021-05-13 02:32:20 +08:00
login.go Proper help text & new README structure () 2020-12-21 21:37:20 +08:00
logout.go Proper help text & new README structure () 2020-12-21 21:37:20 +08:00
milestones.go Add tea issues --fields, allow printing labels () 2020-12-21 23:41:07 +08:00
notifications.go Proper help text & new README structure () 2020-12-21 21:37:20 +08:00
open.go Proper help text & new README structure () 2020-12-21 21:37:20 +08:00
organizations.go Add missing flags to org & labels subcommands () 2021-05-13 02:32:20 +08:00
pulls.go Add tea pr merge () 2021-03-18 03:56:05 +08:00
releases.go Proper help text & new README structure () 2020-12-21 21:37:20 +08:00
repos.go Proper help text & new README structure () 2020-12-21 21:37:20 +08:00
times.go Improve tea time () 2020-12-23 12:58:36 +08:00