diff --git a/share/functions/dirs.fish b/share/functions/dirs.fish index 87b37ec31..db153c2a6 100644 --- a/share/functions/dirs.fish +++ b/share/functions/dirs.fish @@ -16,4 +16,5 @@ function dirs --description 'Print directory stack' # Replace $HOME with ~. string replace -r '^'"$HOME"'($|/)' '~$1' -- $PWD $dirstack | string join " " + return 0 end