From b823b91bcd3a6c5548d6a547e7d947b299ca474e Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 4 May 2021 13:32:21 -0700 Subject: [PATCH] Remove an errant newline from the dirs function The dirs function prints an extra newline; it is not obvious why this is needed but it has been this way forever. Let's remove it. --- share/functions/dirs.fish | 1 - 1 file changed, 1 deletion(-) diff --git a/share/functions/dirs.fish b/share/functions/dirs.fish index a1d2bd653..87b37ec31 100644 --- a/share/functions/dirs.fish +++ b/share/functions/dirs.fish @@ -16,5 +16,4 @@ function dirs --description 'Print directory stack' # Replace $HOME with ~. string replace -r '^'"$HOME"'($|/)' '~$1' -- $PWD $dirstack | string join " " - echo end