diff options
author | Aylur <[email protected]> | 2024-09-23 22:01:34 +0000 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-23 22:01:34 +0000 |
commit | fd8c3e81d8f7b235be123ce592f89e72f65a0f05 (patch) | |
tree | 0c3ea0f169d15ecfc6edb53c26cb32988d52214b | |
parent | ba7d92df104f374a3796c0c95f3a9cda04976f6a (diff) |
docs(ags): $GOPATH tip
-rw-r--r-- | docs/ags/first-widgets.md | 2 | ||||
-rw-r--r-- | docs/ags/installation.md | 10 |
2 files changed, 11 insertions, 1 deletions
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 +``` + +::: |