You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long prompts eg. for removing or overwriting files, are cut off at the right side in the terminal. This makes it impossible to (a) see what the options are and (b) see what they're for.
To reproduce
Add some files with relatively long paths
Maybe resize your terminal to be a bit narrow
Use chezmoi rm to remove them
Expected behavior
I'd expect the prompt to wrap.
Output of command with the --verbose flag
It's the same with or without --verbose. I started with zsh -f to try to reduce variation a bit.
~ ⚬ zsh -fgary% cd .config/sublime-text/Packages/User gary% chezmoi rm Meson.sublime-syntax Remove /home/jason/.config/sublime-text/Packages/User/Meson.sublime-syntax and /home/jason/.loca
That's actually it - there's no more text. Here's a screenshot:
I can't scroll that eg. by pressing →, or reflow it by resizing the window. I can exit it with Q or Ctrl+C.
Output of chezmoi doctor
RESULT CHECK MESSAGEok version v2.46.1, commit c65f66a5f1a990ffeb4d7e3f53320cb061f91513, built at 2024-02-11T16:33:13Z, built by goreleaserok latest-version v2.46.1ok os-arch linux/amd64 (Ubuntu 23.10 (Mantic Minotaur))ok uname Linux gary 6.5.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 9 17:03:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linuxok go-version go1.22.0 (gc)ok executable /snap/chezmoi/842/chezmoiok upgrade-method snap-refreshok config-file ~/.config/chezmoi/chezmoi.toml, last modified 2024-02-05T16:48:15+08:00warning source-dir ~/.local/share/chezmoi is a git working tree (dirty)ok suspicious-entries no suspicious entrieswarning working-tree ~/.local/share/chezmoi is a git working tree (dirty)ok dest-dir ~ is a directoryok umask 002ok cd-command found /usr/bin/zshok cd-args /usr/bin/zshinfo diff-command not setok edit-command found /snap/bin/microok edit-args /snap/bin/microok git-command found /usr/bin/git, version 2.43.2ok merge-command found /usr/bin/vimdiffok shell-command found /usr/bin/zshok shell-args /usr/bin/zshinfo age-command age not found in $PATHok gpg-command found /usr/bin/gpg, version 2.2.40info pinentry-command not setinfo 1password-command op not found in $PATHok bitwarden-command found /snap/bin/bw, version 2024.2.0info bitwarden-secrets-command bws not found in $PATHinfo dashlane-command dcli not found in $PATHinfo doppler-command doppler not found in $PATHinfo gopass-command gopass not found in $PATHinfo keepassxc-command keepassxc-cli not found in $PATHinfo keepassxc-db not setinfo keeper-command keeper not found in $PATHinfo lastpass-command lpass not found in $PATHinfo pass-command pass not found in $PATHinfo passhole-command ph not found in $PATHinfo rbw-command rbw not found in $PATHinfo vault-command vault not found in $PATHinfo vlt-command vlt not found in $PATHinfo secret-command not set
Additional context
This is not a recent change, I just haven't gotten around to filing an issue until now.
Chezmoi is installed via Snap, on Ubuntu 23.10. I tried this on Bash, Dash and Zsh, all with the same results.
The text was updated successfully, but these errors were encountered:
Describe the bug
Long prompts eg. for removing or overwriting files, are cut off at the right side in the terminal. This makes it impossible to (a) see what the options are and (b) see what they're for.
To reproduce
chezmoi rm
to remove themExpected behavior
I'd expect the prompt to wrap.
Output of command with the
--verbose
flagIt's the same with or without
--verbose
. I started withzsh -f
to try to reduce variation a bit.That's actually it - there's no more text. Here's a screenshot:
I can't scroll that eg. by pressing →, or reflow it by resizing the window. I can exit it with Q or Ctrl+C.
Output of
chezmoi doctor
Additional context
This is not a recent change, I just haven't gotten around to filing an issue until now.
Chezmoi is installed via Snap, on Ubuntu 23.10. I tried this on Bash, Dash and Zsh, all with the same results.
The text was updated successfully, but these errors were encountered: