dotfiles-public
dotfiles-public copied to clipboard
command failed if directory contains blank spaces
https://github.com/craftzdog/dotfiles-public/blob/f757358129065267507524a1a93112b9ee64ac37/.config/fish/functions/peco_change_directory.fish#L8
if directory contains blank spaces, foo string will contains backslash to escape these spaces, it will fail when execute command cd $foo,
my recommandation is: builtin cd (echo $foo|sed -e 's/\//')