Skip to content

Commit

Permalink
fix(vterm): enable remote shell tracking
Browse files Browse the repository at this point in the history
On remote shell, `INSIDE_EMACS` is set to `vterm,tramp:<ver>`.

Doc: https://github.com/akermu/emacs-libvterm#directory-tracking-and-prompt-tracking.

Related issues: akermu/emacs-libvterm#369.
  • Loading branch information
rennsax committed Jul 22, 2024
1 parent 8c08c65 commit fb81e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/zsh/site-plugins/vterm/vterm.plugin.zsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if [[ "$INSIDE_EMACS" != 'vterm' ]]; then return; fi
if [[ "$INSIDE_EMACS" != vterm* ]]; then return; fi

# Enable the shell to send information to vterm via properly escaped sequences
vterm_printf() {
Expand Down

0 comments on commit fb81e90

Please sign in to comment.