waveterm: cd does not change directory

Describe the bug Running cd [folder] does not do anything.

To Reproduce Steps to reproduce the behavior:

  1. run cd folder/
  2. [nothing happens]

(see screenshot below)

Expected behavior It should change to [folder].

Screenshots waveterm-bug-cd

Desktop (please complete the following information):

  • OS: MacOS
  • Version: v0.5.1 (20231205-174934)

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 3
  • Comments: 18 (3 by maintainers)

Commits related to this issue

Most upvoted comments

Okay, I have a lead on this bug. I think it might be related to the EXIT trap running multiple times (possibly because of exiting subshells?). Haven’t tested it with bash yet, but I ran into a similar issue while working on zsh support so it is possible it is related.

I have just tried out Waveterm for the first time and I am also experiencing the same “cd” issue described above.

Waveterm seems to be really nice but the “cd” issue really is a showstopper.

I run Ubuntu 23.04.

Hie,

I’ve the same behaviour. I’ve commented some line in my dotfiles (.bashrc, .bash_profile) and saved. After that i was able to work with cd …

And after uncomment my lines and touch / reload waveterm it’s working yet… hum…

# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"

Juste resaved this dotfiles has to be work again… 😄