If $PWD ends in a slash, I'm seeing bash_enter run twice, the second time with two slashes between the directory path and bash_enter. E.g. the following is from a new shell starting in a tmux pane with the initial path being /Users/von/.local/share/chezmoi/:
If
$PWD
ends in a slash, I'm seeing bash_enter run twice, the second time with two slashes between the directory path and bash_enter. E.g. the following is from a new shell starting in a tmux pane with the initial path being/Users/von/.local/share/chezmoi/
:If I trim the slash from the end of
$PWD
(PWD=${PWD%/}
), the double execution goes away:Not sure what version of smartcd I'm running as I can't find any sort of version command.