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

Unable to update due to tmux #201

Open
davidcortesortuno opened this issue Jan 26, 2022 · 3 comments
Open

Unable to update due to tmux #201

davidcortesortuno opened this issue Jan 26, 2022 · 3 comments

Comments

@davidcortesortuno
Copy link

Hi, today I ran the update command and I got this error

 % z4h update                                                                                                                      z4h recovery mode
z4h: fetching z4h.zsh
z4h: updating zsh4humans
z4h: updating systemd completions
z4h: updating zsh-history-substring-search
z4h: updating zsh-autosuggestions
z4h: updating zsh-completions
z4h: updating zsh-syntax-highlighting
z4h: updating terminfo
z4h: updating fzf
z4h: updating fzf binary
z4h: updating tmux
/home/david/.cache/zsh4humans/v5.new.17497/zsh4humans/sc/install-tmux: line 385: TMPDIR: unbound variable
z4h: updating ohmyzsh/ohmyzsh
z4h: updating powerlevel10k
z4h: updating gitstatus binary

z4h: update failed

See error messages above to identify the culprit.
...

I'm using Opensuse Tumbleweed. Previously I did not have this problem. When I run the installation script again I get the same error.
Is there a way to disable tmux from the updates?

@romkatv
Copy link
Owner

romkatv commented Jan 26, 2022

Thanks for the report. Should be fixed now. Please try z4h again.

Just for my information, z4h update was failing for you but other than that everything worked? Correct? (It's an important goal that z4h update simply does nothing when I introduce a bug. I need to know if it actually works.)

@davidcortesortuno
Copy link
Author

Thanks, it is working correctly now. I also could temporarily fix the problem by setting TMPDIR to my system's tmp folder.

When the update failed my zsh config was unusable as far as I remember. When I tried to reinstall from scratch I was left with a debug mode somehow, and it was partially working.
I was also expecting that with a broken update the previous state of my zsh config was left untouched but that was not the case

@romkatv
Copy link
Owner

romkatv commented Jan 26, 2022

Thanks for the info. It's bad that I pushed a bug but it's worse still that an attempt to update borked your zsh. I'll keep this issue open and will try to reproduce the issue with update.

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