From bb57f2391fde0edd9ef6853ed844e8673d7edd3d Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Tue, 12 Nov 2024 09:59:10 -0600 Subject: [PATCH] Fix a bad comment and clarify `delta` behavior s/fish/delta/ and provide a better explanation. --- share/completions/delta.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/completions/delta.fish b/share/completions/delta.fish index b90e2dba4..46c3f4098 100644 --- a/share/completions/delta.fish +++ b/share/completions/delta.fish @@ -1,2 +1,3 @@ -# Old versions of fish do not have a --generate-completion option! +# Older versions of delta do not have a --generate-completion option and will complain +# to stderr but emit nothing to stdout, making it safe (but a no-op) to source. delta --generate-completion fish 2>/dev/null | source