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

z sets $PROMPT_COMMAND variable in any shells (zsh/ksh/..) #10

Closed
rupa opened this issue Jan 28, 2011 · 1 comment
Closed

z sets $PROMPT_COMMAND variable in any shells (zsh/ksh/..) #10

rupa opened this issue Jan 28, 2011 · 1 comment

Comments

@rupa
Copy link
Owner

rupa commented Jan 28, 2011

received via email:

Current version of z sets $PROMPT_COMMAND variable in any shells (zsh/ksh/..),
and that causes annoyance in some situations.

Example;
When ". /path/to/z.sh" in zsh, $PROMPT_COMMAND is set but not used.
Then start bash from zsh, bash takes over $PROMPT_COMMAND from zsh
whether ". /path/to/z.sh" is written in ~/.bashrc or not.
If not, bash complains that "bash: z: command not found" or so.

@rupa
Copy link
Owner Author

rupa commented Jan 28, 2011

only set $PROMPT_COMMAND under bash. Closed by fe14366

shmup pushed a commit to shmup/z that referenced this issue Sep 4, 2022
This issue was closed.
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

1 participant