From 31a2c283df455334c85b24a52a5ea509d181ce50 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 7 Jul 2021 10:28:15 +0200 Subject: [PATCH] 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. --- sh/.config/sh/alias.d/enable-fasd-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/.config/sh/alias.d/enable-fasd-hook.sh b/sh/.config/sh/alias.d/enable-fasd-hook.sh index 3d79d04..7b12527 100644 --- a/sh/.config/sh/alias.d/enable-fasd-hook.sh +++ b/sh/.config/sh/alias.d/enable-fasd-hook.sh @@ -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 }