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

Freezes when using shell theme with zsh #22

Open
otavio opened this issue Jul 5, 2022 · 2 comments
Open

Freezes when using shell theme with zsh #22

otavio opened this issue Jul 5, 2022 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@otavio
Copy link

otavio commented Jul 5, 2022

Running the script using zsh causes it freeze:

otavio@micro ~ % zsh -x /nix/store/k63kv2airapd8pdkcffwysa0v8jqa3kn-shell-theme-default-dark.sh
+/etc/zshenv:5> [ -n '' ']'
+/etc/zshenv:6> __ETC_ZSHENV_SOURCED=1
+/etc/zshenv:8> [ -z 1 ']'
+/etc/zshenv:12> HELPDIR=/nix/store/05kh07z7xhadarx6s488z1jf25g660p0-zsh-5.9/share/zsh/5.9/help
+/etc/zshenv:15> p=/run/current-system/sw
+/etc/zshenv:16> fpath+=( /run/current-system/sw/share/zsh/site-functions /run/current-system/sw/share/zsh/5.9/functions /run/current-system/sw/share/zsh/vendor-completions )
+/etc/zshenv:15> p=/nix/var/nix/profiles/default
+/etc/zshenv:16> fpath+=( /nix/var/nix/profiles/default/share/zsh/site-functions /nix/var/nix/profiles/default/share/zsh/5.9/functions /nix/var/nix/profiles/default/share/zsh/vendor-completions )
+/etc/zshenv:15> p=/etc/profiles/per-user/otavio
+/etc/zshenv:16> fpath+=( /etc/profiles/per-user/otavio/share/zsh/site-functions /etc/profiles/per-user/otavio/share/zsh/5.9/functions /etc/profiles/per-user/otavio/share/zsh/vendor-completions )
+/etc/zshenv:15> p=/home/otavio/.nix-profile
+/etc/zshenv:16> fpath+=( /home/otavio/.nix-profile/share/zsh/site-functions /home/otavio/.nix-profile/share/zsh/5.9/functions /home/otavio/.nix-profile/share/zsh/vendor-completions )
+/etc/zshenv:25> test -f /etc/zshenv.local
+/home/otavio/.zshenv:1> source /home/otavio/.config/zsh/.zshenv
+/home/otavio/.config/zsh/.zshenv:2> . /etc/profiles/per-user/otavio/etc/profile.d/hm-session-vars.sh
+/etc/profiles/per-user/otavio/etc/profile.d/hm-session-vars.sh:2> [ -n 1 ']'
+/etc/profiles/per-user/otavio/etc/profile.d/hm-session-vars.sh:2> return
+/home/otavio/.config/zsh/.zshenv:5> [[ -z 1 ]]
+/home/otavio/.config/zsh/.zshenv:10> ZDOTDIR=/home/otavio/.config/zsh
+/home/otavio/.config/zsh/.zshenv:13> [ -e /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh ']'
+/home/otavio/.config/zsh/.zshenv:17> export NIX_PATH='/home/otavio/.nix-defexpr/channels:/home/otavio/.nix-defexpr/channels:/home/otavio/.nix-defexpr/channels:/home/otavio/.nix-defexpr/channels:/home/otavio/.nix-defexpr/channels:nixpkgs=/etc/nix/channels/nixpkgs:home-manager=/etc/nix/channels/home-manager'
+/nix/store/k63kv2airapd8pdkcffwysa0v8jqa3kn-shell-theme-default-dark.sh:2> [ xterm '=' screen ']'
+/nix/store/k63kv2airapd8pdkcffwysa0v8jqa3kn-shell-theme-default-dark.sh:4> [ -n /tmp/tmux-1000/default,3810,0 ']'
+/nix/store/k63kv2airapd8pdkcffwysa0v8jqa3kn-shell-theme-default-dark.sh:11> apply_color '4;0;#181818'
+apply_color:0> echo -ne '\033Ptmux;\033\033]4;0;#181818\033\033\\033\'

Never gets out of the last echo.

@otavio
Copy link
Author

otavio commented Jul 5, 2022

@Misterio77 the code change in my config can be seen above.

@otavio
Copy link
Author

otavio commented Jul 6, 2022

Cc: @strout

@Misterio77 Misterio77 added bug Something isn't working help wanted Extra attention is needed labels Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants