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.
This commit is contained in:
ridiculousfish 2021-05-04 13:32:21 -07:00
parent f0f10618df
commit b823b91bcd

View file

@ -16,5 +16,4 @@ function dirs --description 'Print directory stack'
# Replace $HOME with ~.
string replace -r '^'"$HOME"'($|/)' '~$1' -- $PWD $dirstack | string join " "
echo
end