diff options
Diffstat (limited to 'shell/completion.bash')
-rw-r--r-- | shell/completion.bash | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/completion.bash b/shell/completion.bash index 836f4b54..9474ea03 100644 --- a/shell/completion.bash +++ b/shell/completion.bash @@ -270,8 +270,9 @@ _fzf_complete_kill() { } _fzf_proc_completion() { - _fzf_complete -m --preview 'echo {}' --preview-window down:3:wrap --min-height 15 -- "$@" < <( - command ps -ef | sed 1d + _fzf_complete -m --header-lines=1 --preview 'echo {}' --preview-window down:3:wrap --min-height 15 -- "$@" < <( + command ps -eo user,pid,ppid,start,time,command 2> /dev/null || + command ps -eo user,pid,ppid,time,args # For BusyBox ) } |