-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kill completions dosen't work on macos #17
Comments
Darwin's ps -p$$ -wocommand --no-headers |
Hope I didn't do anything stupid
The ps manpage on darwin: |
OK, darwin's |
Can you try #18? |
(still isn't fixed. reopen maybe ?) |
I think I should borrow a darwin machine, otherwise I cannot survey deeply :( Or wait any darwin user to find why it happened. |
In #18, I did mention a working solution - # give a preview of commandline arguments when completing `kill`
zstyle ':completion:*:*:*:*:processes' command "ps -u $USER -o pid,user,comm -w -w"
zstyle ':fzf-tab:complete:(kill|ps):argument-rest' fzf-preview \
'[[ $group == "[process ID]" ]] && ps --pid=$word -o cmd --no-headers -w -w'
zstyle ':fzf-tab:complete:(kill|ps):argument-rest' fzf-flags --preview-window=down:3:wrap from fzf-tab wiki |
see #19 for I fix I implemented. |
The text was updated successfully, but these errors were encountered: