Skip to content
Open
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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ The available values for the position are `window`, `tab`, `top`, `bottom`, `lef

Install the following requirements:

- [envsubst](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html)
- [yq](https://github.com/mikefarah/yq) *(Ensure that you are using the `yq` implementation written in Golang, not the one [written in Python](https://github.com/kislyuk/yq))*

Additionally, it's recommended to install the following CLI tools:
Expand Down
3 changes: 1 addition & 2 deletions helix-wezterm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,5 @@ if [ "$act" != "null" ]; then
command=$(yq e ".actions.$action.extensions.$extension" "$config_file")
fi

expanded_command=$(echo $command | envsubst '$WEZTERM_PANE,$basedir,$binary_output,$buffer_name,$cursor_line,$interface_name,$test_name,$session,$entry')
echo "$expanded_command\r" | $send_to_pane
eval echo "$command\r" | $send_to_pane
fi