[GH-ISSUE #78] asciinema changes $PATH order. #60

Closed
opened 2026-02-25 20:32:27 +03:00 by kerem · 3 comments
Owner

Originally created by @introom on GitHub (Jan 9, 2015).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/78

I am using ZSH.
The asciinema version is: asciinema 0.9.9-0eee9b2

Suppose my path is: /Users/John/.dotfiles/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin

After I start asciinema, the path turns into:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin:/Users/John/.dotfiles/bin:/usr/local/sbin

The change of order breaks many apps on my laptop.

Originally created by @introom on GitHub (Jan 9, 2015). Original GitHub issue: https://github.com/asciinema/asciinema/issues/78 I am using ZSH. The asciinema version is: asciinema 0.9.9-0eee9b2 Suppose my path is: /Users/John/.dotfiles/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin After I start asciinema, the path turns into: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin:/Users/John/.dotfiles/bin:/usr/local/sbin The change of order breaks many apps on my laptop.
kerem closed this issue 2026-02-25 20:32:27 +03:00
Author
Owner

@ku1ik commented on GitHub (Jan 9, 2015):

asciinema doesn't mess $PATH in any way. You probably have some issue with your shell config files.
Try entering another zsh instance by typing zsh once you're in shell already. You will probably have the same result as with asciinema.

<!-- gh-comment-id:69363488 --> @ku1ik commented on GitHub (Jan 9, 2015): asciinema doesn't mess `$PATH` in any way. You probably have some issue with your shell config files. Try entering another zsh instance by typing `zsh` once you're in shell already. You will probably have the same result as with asciinema.
Author
Owner

@introom commented on GitHub (Jan 9, 2015):

It turns out Yosemite's shipped zsh doesn't work properly. More precisely, the /etc/zshenv is broken.

<!-- gh-comment-id:69377795 --> @introom commented on GitHub (Jan 9, 2015): It turns out Yosemite's shipped zsh doesn't work properly. More precisely, the /etc/zshenv is broken.
Author
Owner

@kissgyorgy commented on GitHub (Jun 22, 2015):

That was my issue either, I would have never solved this, thank you!

<!-- gh-comment-id:114230626 --> @kissgyorgy commented on GitHub (Jun 22, 2015): That was my issue either, I would have never solved this, thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#60
No description provided.