Skip to content

Commit

Permalink
this makes VSCode magically find dev-envs
Browse files Browse the repository at this point in the history
caveat: tools must already be installed :/
  • Loading branch information
mxcl committed Apr 7, 2023
1 parent 9313bd6 commit f2758e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.magic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export default function(self: Path, shell?: string) {
fi
}
if test "$TERM_PROGRAM" = WarpTerminal; then
# warp.dev seems to start shells in a way that this doesn’t trigger
if test "$TERM_PROGRAM" = WarpTerminal -o "$TERM_PROGRAM" = vscode; then
# warp.dev & vscode integrated terminal don’t call the hook on startup
_tea_chpwd_hook
fi
Expand Down

0 comments on commit f2758e5

Please sign in to comment.