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

less+=( --use-color '-DSkY$DPWb' ) cause error when using tmux #22

Open
zwyyy456 opened this issue Jan 1, 2025 · 0 comments
Open

less+=( --use-color '-DSkY$DPWb' ) cause error when using tmux #22

zwyyy456 opened this issue Jan 1, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@zwyyy456
Copy link

zwyyy456 commented Jan 1, 2025

Describe the bug

I use your zsh-launchpad, which enables zcolors, when I try to create a tmux-session with tmux new -s test, the value of LESS is --use-color -DSkY$DPWb --use-color -DSkY$DPWb. Then if I try to exec less example.txt, the terminal reports error: Invalid color string "Wb --use-color -DSkY".

Steps To Reproduce

# with zsh-launchpad and zcolors enabled
tmux new -s test
echo "test less" >> test.txt
less test.txt

Expected behavior

Observed behavior

图片

Environment:

  • Debian Bookworm
  • wezterm 20240203-110809-5046fc22
  • zsh 5.9 (x86_64-debian-linux-gnu)
  • latest
@zwyyy456 zwyyy456 added the bug Something isn't working label Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant