Lines 1-11
Link Here
|
1 |
--- shell/completion.zsh.orig 2017-10-25 13:15:38 UTC |
1 |
--- shell/completion.zsh.orig 2017-12-03 14:55:24.000000000 +0000 |
2 |
+++ shell/completion.zsh |
2 |
+++ shell/completion.zsh 2017-12-29 20:54:22.283164000 +0000 |
3 |
@@ -163,7 +163,7 @@ fzf-completion() { |
3 |
@@ -163,7 +163,9 @@ |
4 |
# Kill completion (do not require trigger sequence) |
4 |
# Kill completion (do not require trigger sequence) |
5 |
if [ $cmd = kill -a ${LBUFFER[-1]} = ' ' ]; then |
5 |
if [ $cmd = kill -a ${LBUFFER[-1]} = ' ' ]; then |
6 |
fzf="$(__fzfcmd_complete)" |
6 |
fzf="$(__fzfcmd_complete)" |
7 |
- matches=$(ps -ef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFAULT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" ${=fzf} -m | awk '{print $2}' | tr '\n' ' ') |
7 |
- matches=$(command ps -ef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFAULT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" ${=fzf} -m | awk '{print $2}' | tr '\n' ' ') |
8 |
+ matches=$(ps -uef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFAULT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" ${=fzf} -m | awk '{print $2}' | tr '\n' ' ') |
8 |
+ matches=$(ps -uef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFA |
|
|
9 |
+ULT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" ${=fzf} -m | awk '{print $2}' | tr '\n' |
10 |
+' ') |
9 |
if [ -n "$matches" ]; then |
11 |
if [ -n "$matches" ]; then |
10 |
LBUFFER="$LBUFFER$matches" |
12 |
LBUFFER="$LBUFFER$matches" |
11 |
fi |
13 |
fi |