README: trying to determine a good $HOME solution

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2024-05-25 11:44:10 -04:00
parent 06303c12bd
commit b6c0e6209f
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED

View file

@ -11,7 +11,7 @@ Something simple like a [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Ide
This requires a golang compiler.
```shell
git clone https://github.com/vbatts/terminal-url-handler
git clone https://git.batts.cloud/vbatts/terminal-url-handler
cd terminal-url-handler
make user-install
```
@ -23,9 +23,9 @@ Say you keep a notebook/journal/whatever in an app that allows hyperlinks (markd
Create a link:
```markdown
[terminal-url-handler](terminal://~/src/terminal-url-handler)
[terminal-url-handler](terminal:///$HOME/src/terminal-url-handler)
```
i.e. [terminal-url-handler](terminal://~/src/terminal-url-handler)
i.e. [terminal-url-handler](terminal:///$HOME/src/terminal-url-handler)
```html
<a href="terminal://~/src/terminal-url-handler">terminal-url-handler</a>
@ -81,7 +81,8 @@ https://portland.freedesktop.org/doc/xdg-settings.html
### Future improvements?
- [ ] if a `user@host` is included, then ssh to the host
- [x] if a `user@host` is included, then ssh to the host
- [ ] YOUR CHOICE
## LICENSE