mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 10:16:32 +08: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
@ -16,5 +16,4 @@ function dirs --description 'Print directory stack'
|
|||||||
|
|
||||||
# Replace $HOME with ~.
|
# Replace $HOME with ~.
|
||||||
string replace -r '^'"$HOME"'($|/)' '~$1' -- $PWD $dirstack | string join " "
|
string replace -r '^'"$HOME"'($|/)' '~$1' -- $PWD $dirstack | string join " "
|
||||||
echo
|
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user