Skip to content

Commit 9ed1386

Browse files
authored
Merge pull request #44 from unsecretised/update-docs
Update docs
2 parents a271451 + 56db4b8 commit 9ed1386

2 files changed

Lines changed: 7 additions & 10 deletions

File tree

EXTENSIONS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ RustCast.
1717
extensions, not just in rustcast, but in all projects.
1818

1919
1. Using WASM:
20-
- The way Zed does their extension support. Maybe I could also use that?
21-
- Their article can be found [here](https://zed.dev/blog/zed-decoded-extensions)
20+
- The way Zed does their extension support. Maybe I could also use that?
21+
- Their article can be found
22+
[here](https://zed.dev/blog/zed-decoded-extensions)

docs/config.toml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,10 @@ blur = false
2929
show_icons = true
3030
show_scroll_bar = true
3131

32+
# searching for `echo abcd > file.txt` will run `echo abcd > file.txt` as the shell command
3233
[[shells]]
33-
command = "echo $var1 > file.txt" # This will start with $var1
34-
icon_path = "" # optional
34+
command = "echo "
35+
# icon_path is optional
3536
alias = "Variables 1" # the name that will be displayed in the results
36-
alias_lc = "var" # the name used to search for it
37+
alias_lc = "var test" # the name used to search for it
3738

38-
[[shells]]
39-
command = "echo $var2 > file.txt" # This will start with $var2 as there is 1 space in the alias_lc
40-
icon_path = "" # optional
41-
alias = "Variables 2" # the name that will be displayed in the results
42-
alias_lc = "var again" # the name used to search for it

0 commit comments

Comments
 (0)