Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions EXTENSIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ RustCast.
extensions, not just in rustcast, but in all projects.

1. Using WASM:
- The way Zed does their extension support. Maybe I could also use that?
- Their article can be found [here](https://zed.dev/blog/zed-decoded-extensions)
- The way Zed does their extension support. Maybe I could also use that?
- Their article can be found
[here](https://zed.dev/blog/zed-decoded-extensions)
12 changes: 4 additions & 8 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,10 @@ blur = false
show_icons = true
show_scroll_bar = true

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

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