commit 398e4c5977df3b40b9dbe63d79fea66560fcac7e parent 1dfee0a16c83d73b5d6844574552aed4ab455b08 Author: Wim Dupont <wim@wimdupont.com> Date: Mon, 22 Jul 2024 23:08:32 +0200 manpage cmd fix Diffstat:
M | cex.1 | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cex.1 b/cex.1 @@ -17,7 +17,7 @@ defines the file to write current path on exit. Add following to your ~/.bashrc .nf function cex() { txt=$(mktemp) || exit 1 - command cex -f "$txt" && cd $(cat "$txt") + command cex -f "$txt" && cd "$(cat "$txt")" rm "$txt" } .fi