mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
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:
parent
f0f10618df
commit
b823b91bcd
1 changed files with 0 additions and 1 deletions
|
@ -16,5 +16,4 @@ function dirs --description 'Print directory stack'
|
|||
|
||||
# Replace $HOME with ~.
|
||||
string replace -r '^'"$HOME"'($|/)' '~$1' -- $PWD $dirstack | string join " "
|
||||
echo
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue