mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +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 ~.
|
# 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…
Reference in a new issue