Skip to content
Myr

fix: Add fallback for cygwin ps (#3955)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Eduardo D Sanchez · committed by GitHub · parent 4e85f72 · Browse files · 2 files+4 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−2 removed

  • other:+4 added−2 removed

2 files+4 added−2 removed

modified:shell/completion.bash+2 added-1 removed
408 unmodified lines
409410_fzf_proc_completion() {411 _fzf_complete -m --header-lines=1 --no-preview --wrap -- "$@" < <(412 command ps -eo user,pid,ppid,start,time,command 2> /dev/null ||413 command ps -eo user,pid,ppid,time,args # For BusyBox413 command ps -eo user,pid,ppid,time,args 2> /dev/null || # For BusyBox414 command ps --everyone --full --windows # For cygwin415 )416}417418_fzf_proc_completion_post() {
154 unmodified lines
modified:shell/completion.zsh+2 added-1 removed
298 unmodified lines
299300_fzf_complete_kill() {301 _fzf_complete -m --header-lines=1 --no-preview --wrap -- "$@" < <(302 command ps -eo user,pid,ppid,start,time,command 2> /dev/null ||303 command ps -eo user,pid,ppid,time,args # For BusyBox303 command ps -eo user,pid,ppid,time,args 2> /dev/null || # For BusyBox304 command ps --everyone --full --windows # For cygwin305 )306}307308_fzf_complete_kill_post() {
69 unmodified lines