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
Zed Terminal Pager does not work with git-delta as a replacement for the default git diff pager. This tool works in Vscode Terminal, and all my other shells.
Terminal should show delta style git diff, based on git config
Pager should "exit" early for short changes, i.e. no prompt or navigation needed because it fits on a "single page"
Longer changes should show diff and nav prompt, i.e. : at the bottom
Actual Results:
Terminal flashes for split second
Pager doesn't show any text
The only thing shown is the prompt at the bottom
I like to use delta, instead of the default pager, for my git diffs. I use it throughout my personal and professional dev envs, and it works well with other terminals and shells. But in Zed Terminal, when I enter git diff and delta is the pages in git config, the terminal goes blank. The only thing I can see is the : prompt at the bottom of the terminal.
The default git diff pager works in Zed Terminal.
I've used delta and my current config in Alacritty, Gnome Shell, Macos Terminal and iTerm, Kitty, and Vscode terminal without issues.
Not sure if it's relevant, but I use fish with starship.rs, instead of bash or zsh But the bug occurs in all 3 shells, and with or without starship shell active.
Config lives in git config file at ~/.config/git/config and looks like this:
[user]
name = ...
email = ...
[fetch]
prune = true
[pull]
ff = only
[init]
defaultBranch = main
# delta config
# To Install: cargo install git-delta
[core]
pager = delta
[delta]
line-numbers = true
file-style = bold yellow ul
file-decoration-style = none
[interactive]
diffFilter = delta --color-only
Check for existing issues
Describe the bug / provide steps to reproduce it
Zed Terminal Pager does not work with
git-delta
as a replacement for the defaultgit diff
pager. This tool works in Vscode Terminal, and all my other shells.Steps to Reproduce:
cargo install git-delta
delta
as pager in git conifggit diff
in Zed terminalExpected Results:
:
at the bottomActual Results:
I like to use delta, instead of the default pager, for my git diffs. I use it throughout my personal and professional dev envs, and it works well with other terminals and shells. But in Zed Terminal, when I enter
git diff
and delta is the pages in git config, the terminal goes blank. The only thing I can see is the:
prompt at the bottom of the terminal.The default git diff pager works in Zed Terminal.
I've used delta and my current config in Alacritty, Gnome Shell, Macos Terminal and iTerm, Kitty, and Vscode terminal without issues.
Not sure if it's relevant, but I use fish with starship.rs, instead of bash or zsh But the bug occurs in all 3 shells, and with or without starship shell active.
Config lives in git config file at
~/.config/git/config
and looks like this:Environment
Zed: v0.134.4 (Zed)
OS: macOS 14.4.1
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
vscode example with delta
zed example with delta
zed example with default git config
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.Zed.log
The text was updated successfully, but these errors were encountered: