4372ee82e885a614ceb3d188eb34c3b19a7945dd
commit 4372ee82e885a614ceb3d188eb34c3b19a7945dd
Author: Simon Watson <spesk@pm.me>
Date: Tue Dec 5 16:34:00 2023 -0500

Final touches for PoC

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..91160ef
--- /dev/null
+++ b/README.md
@@ -0,0 +1,6 @@
+# go-pest
+
+Toy PS1 generator program.
+
+Port of: https://git.spwbk.site/swatson/cl-pest
+for the sake of learning a bit of Go.
\ No newline at end of file
diff --git a/pest.go b/pest.go
index e889e34..c4a941e 100644
--- a/pest.go
+++ b/pest.go
@@ -210,11 +210,11 @@ func assemble_prompt(config *PestConfig) {

func main() {

- toml, err := parseTomlFromFile("/home/swatson/Repos/go-pest/pest.cfg")
+ parsed_config, err := parseTomlFromFile("/home/swatson/Repos/go-pest/pest.cfg")
if err != nil {
fmt.Println("Couldn't parse TOML const!")
}

- assemble_prompt(&toml)
+ assemble_prompt(&parsed_config)

}