-
-
Notifications
You must be signed in to change notification settings - Fork 171
Open
Labels
Description
Environment
% typeset -p1 VENDOR OSTYPE ZSH_PATCHLEVEL _autocomplete__funcfiletrace
typeset VENDOR=apple
typeset OSTYPE=darwin23.0.0
typeset ZSH_PATCHLEVEL=zsh-5.9-0-g73d3173
typeset -a _autocomplete__funcfiletrace=(
/Users/tiger/git/zsh-snap/functions/.znap.source:23
/Users/tiger/git/zsh-snap/functions/.znap.source:26
/Users/tiger/git/zsh-snap/functions/znap:42
/Users/tiger/git/dotfiles/zsh/znap.zsh:17
/Users/tiger/.zshrc:28
zsh:0
)
% git -C ~autocomplete log --oneline -n1
zsh: no such user or named directory: autocomplete
- Operating system:
❯ sw_vers
ProductName: macOS
ProductVersion: 14.7
BuildVersion: 23H124
- Terminal emulator: Terminal.app
Steps to reproduce
Cmd+R then type
see video https://github.com/user-attachments/assets/646c8377-24d0-4e1a-8e97-28008a2384e4
When using arrow keys to get one of the last suggestions like -73 85 code ~/git/release
, the command to be executed doesn't match. in this case code gcaf
❯ code gcaf
726 code ~/git/kubevirt-velero-plugin
-819 43 code ./Users/tiger/go/pkg/mod/github.com/blackpiglet/[email protected]/
-812 44 code /Users/tiger/go/pkg/mod/github.com/blackpiglet/[email protected]/
-73 85 code ~/git/release
From digging some of these, everything with - appears to be coming from .zsh_sessions
.
Anything from .zsh_history
works fine.