fasd: Fix directory display to work on all shells

Fixed printing of ingested directories to use printf which works on all
shells instead of zsh specific print.
This commit is contained in:
Marty Oehme 2021-07-07 10:28:15 +02:00
parent bb9030f885
commit 31a2c283df
Signed by: Marty
GPG Key ID: B7538B8F50A1C800
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ fasd_cd() {
if [ -d "$fasd_ret" ]; then
cd "$fasd_ret" || exit
else
print "$fasd_ret"
printf "%s\n" "$fasd_ret"
fi
unset fasd_ret
}