Commit graph

12 commits

Author SHA1 Message Date
Carlos Alexandro Becker
c991ec475d
feat: use x/editor (#543)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-11-17 09:02:52 -03:00
Carlos Alexandro Becker
54dd62a2a4
fix: handle running inside a snap (#527)
* fix: handle running inside a snap

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* test: fixes

* docs: improve error message

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: bashbunni <bunni@bashbunni.dev>
2023-08-28 09:05:12 -03:00
Carlos Alexandro Becker
8b5468468a
fix: improve editor handling (#449)
* fix: improve editor handling

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: add tests

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-24 14:51:11 -03:00
Carlos A Becker
4dd3ba1d3c chore: fmt & lint issues 2022-11-11 02:14:26 +01:00
Christian Rocha
9c9b3e6087 Bump Bubble Tea, Bubbles, Glamour, Lip Gloss, and Termenv and do related updates
This update also removes any usage of the charm/common package

Co-authored-by: Christian Rocha <christian@rocha.is>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-11 02:14:26 +01:00
Carlos Alexandro Becker
5f14914b7e
fix: editor with args (#364)
* fix: editor with args

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* Update config_cmd.go

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-25 15:35:12 -03:00
Christopher Murphy
e0d667a48c fix: use filepath.Dir instead of path.Dir
Use the `filepath` implementation of `Dir` instead of `path`. Resolve
path resolution with Windows paths containing `\\` separators.
2022-09-16 11:42:22 +02:00
Christian Muehlhaeuser
b67e23e7df
Update default config and documentation 2021-02-04 01:38:52 +01:00
Nicolas Martin
c5adc8fc2d
Saner default values in the defaultConfig 2020-10-26 21:02:54 +01:00
Nicolas Martin
858beaf143
Check for $EDITOR before writing the file 2020-10-26 21:02:09 +01:00
Nicolas Martin
4b4fb783d2
Open the configuration file with $EDITOR via 'glow config' 2020-10-26 20:21:38 +01:00
Christian Rocha
7a700d2511
Stub out config sub-command 2020-10-26 12:21:23 -04:00