mirror of
https://github.com/ajeetdsouza/zoxide.git
synced 2025-08-04 19:08:35 +00:00
Run the cd command after "cd ... <space><tab>" in Bash integration (#1055)
This commit is contained in:
parent
628f8542a0
commit
9c0dcf12f3
1 changed files with 2 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue