fix: use correct kill command
This commit is contained in:
parent
1e191aa0b0
commit
0f86c66fea
1
.profile
1
.profile
@ -137,7 +137,6 @@ if [[ "$OSTYPE" = "darwin"* ]]; then
|
||||
alias p="pbpaste"
|
||||
alias grep="ggrep"
|
||||
alias find="gfind"
|
||||
alias kill="gkill"
|
||||
alias sed="gsed"
|
||||
fi
|
||||
|
||||
|
2
.zstyle
2
.zstyle
@ -17,7 +17,7 @@ zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
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 --preview='echo {}' --bind="ctrl-r:reload(date; ps -ef)" --header="Press CTRL-R to reload\n\n" --header-lines=2
|
||||
zstyle ':fzf-tab:complete:(kill|ps):argument-rest' fzf-flags --preview-window=down,3,wrap --preview='echo {}' --bind="ctrl-r:reload(date; ps -ef)" --header="Press CTRL-R to reload" --header-lines=2
|
||||
|
||||
# Tab completion for Systemd unit status
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user