twpayne / chezmoi

Manage your dotfiles across multiple diverse machines, securely.

Home Page:https://www.chezmoi.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chezmoi by default pipes to `less` pager

Archie-2021 opened this issue · comments

Describe the bug

Chezmoi by default pipes to less pager

Expected behavior

To pipe to stdout

Additional context

Hi, I just updated may packages and noticed in recent chezmoi update it is piping the output into less and that messes with coloring in my terminal. Is there a way to revert this behaviour? I don't mind to pip to less by default if I get rid of this color issue

Thanks

To disable the pager, use the --no-pager flag or set the pager configuration variable to an empty string.

To disable coloring of diff output, use --color=false flag or set the color configuration variable to false or set the NO_COLOR environment variable to a non-empty value.

To disable the pager, use the --no-pager flag or set the pager configuration variable to an empty string.

To disable coloring of diff output, use --color=false flag or set the color configuration variable to false or set the NO_COLOR environment variable to a non-empty value.

Thanks