fix(zsh): Tab completion and colby buffer expansion
Fix fzf_default_completion stale pointer after zle -D by setting it to expand-or-complete before deleting the lazy comp widget. Rebind ^I explicitly after widget deletion and add safety net in widgets.zsh after bindkey -e. Replace colby() function with ^M buffer expansion so the full copilot --allow-all-tools --allow-all-paths invocation is visible in terminal history and screen recordings. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -51,7 +51,6 @@ _copilot_tmux_wrap() {
|
||||
trap - EXIT INT TERM
|
||||
[[ -n "$TMUX" ]] && (tmux set automatic-rename on &)
|
||||
}
|
||||
colby() { _copilot_tmux_wrap gh copilot --allow-all-tools --allow-all-paths "$@"; }
|
||||
alias gs='git s'
|
||||
alias gd='git d'
|
||||
alias gdc='git dc'
|
||||
|
||||
Reference in New Issue
Block a user