From 9c0dcf12f308524497b93ad6f0e633f9ba4c9108 Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Wed, 14 May 2025 12:08:54 +0900 Subject: [PATCH] Run the cd command after "cd ... " in Bash integration (#1055) --- templates/bash.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/bash.txt b/templates/bash.txt index fb037fc..84be3a0 100644 --- a/templates/bash.txt +++ b/templates/bash.txt @@ -151,6 +151,8 @@ if [[ ${BASH_VERSINFO[0]:-0} -eq 4 && ${BASH_VERSINFO[1]:-0} -ge 4 || ${BASH_VER function __zoxide_z_complete_helper() { READLINE_LINE="{{ cmd }} ${__zoxide_result@Q}" READLINE_POINT={{ "${#READLINE_LINE}" }} + bind '"\e[0n": accept-line' + \builtin printf '\e[5n' >/dev/tty } function __zoxide_z_complete() {