waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

Can not CD using shell function

Open verhas opened this issue 1 year ago • 0 comments

Describe the bug terminal does not change directory To Reproduce Steps to reproduce the behavior:

  1. Create a file sss so that
$ cat sss
#!/bin/zsh

github(){
  cd ~/github
  }
$ source sss
$ github
$ pwd
/Users/verhasp/github

in terminal application.

  1. Repeat the same in Wave.

  2. The directory has not changed. image

Expected behavior

I expected that the directory changes.

Desktop (please complete the following information):

  • OS: [e.g. MacOS arm64/M1]
  • Version 14.5

Additional context

This is a simplified example, the real use case is changing directory using yazi.

verhas avatar Jun 27 '24 15:06 verhas