Open otavio opened 2 years ago
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.
echo
@Misterio77 the code change in my config can be seen above.
Cc: @strout
Running the script using zsh causes it freeze:
Never gets out of the last
echo
.