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