From fd8c3e81d8f7b235be123ce592f89e72f65a0f05 Mon Sep 17 00:00:00 2001 From: Aylur Date: Mon, 23 Sep 2024 22:01:34 +0000 Subject: docs(ags): $GOPATH tip --- docs/ags/first-widgets.md | 2 +- docs/ags/installation.md | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/ags/first-widgets.md b/docs/ags/first-widgets.md index 1b18109..fa5b00f 100644 --- a/docs/ags/first-widgets.md +++ b/docs/ags/first-widgets.md @@ -120,7 +120,7 @@ Lowercase tags are builtin widgets, while capital letter is for custom widgets. JSX lets you put markup into JavaScript. Curly braces let you “escape back” into JavaScript so that you can embed some variable -from your code and display it to the user. +from your code and display it. ```tsx function MyWidget() { diff --git a/docs/ags/installation.md b/docs/ags/installation.md index 42ef1c3..0adcf68 100644 --- a/docs/ags/installation.md +++ b/docs/ags/installation.md @@ -53,3 +53,13 @@ go install -ldflags "-X main.astalGjs=$(pkg-config --variable prefix astal-0.1)/ ``` ::: + +:::tip +`go install` installs the `ags` binary to `$GOPATH/bin` so make sure its in your `$PATH`. +You can move it to another directory if you like. For example + +```sh +mv $GOPATH/bin/ags ~/.local/bin/ags +``` + +::: -- cgit v1.2.3