README: trying to determine a good $HOME solution
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
b89aa4d153
commit
f414e6c03f
1 changed files with 5 additions and 4 deletions
|
@ -11,7 +11,7 @@ Something simple like a [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Ide
|
||||||
This requires a golang compiler.
|
This requires a golang compiler.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/vbatts/terminal-url-handler
|
git clone https://git.batts.cloud/vbatts/terminal-url-handler
|
||||||
cd terminal-url-handler
|
cd terminal-url-handler
|
||||||
make user-install
|
make user-install
|
||||||
```
|
```
|
||||||
|
@ -23,9 +23,9 @@ Say you keep a notebook/journal/whatever in an app that allows hyperlinks (markd
|
||||||
Create a link:
|
Create a link:
|
||||||
|
|
||||||
```markdown
|
```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
|
```html
|
||||||
<a href="terminal://~/src/terminal-url-handler">terminal-url-handler</a>
|
<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?
|
### 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
|
## LICENSE
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue