Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal Interface faulty upon shell-init error #322

Open
Semnodime opened this issue Aug 29, 2024 · 1 comment
Open

Terminal Interface faulty upon shell-init error #322

Semnodime opened this issue Aug 29, 2024 · 1 comment

Comments

@Semnodime
Copy link

# change to a newly created dir
mkdir /tmp/foo
cd /tmp/foo

# delete it while inside
rm -r /tmp/foo

# some debugging (not required to trigger the bug)
mkdir -p /tmp/foo/bar
pwd  # sugests we are still in /tmp/foo
ls -lah  # suggests we are not in /tmp/foo

# trigger error
exec zsh # shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

# observation: terminal interface is broken from now on
@romkatv
Copy link
Owner

romkatv commented Aug 29, 2024

Thanks for the bug report. If you send a clean PR with a fix, I'll merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants