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:
parent
bb9030f885
commit
31a2c283df
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue