Автодополнение для kill и killall
This commit is contained in:
		@@ -15,3 +15,12 @@ fi
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
zmodload -i zsh/complist
 | 
					zmodload -i zsh/complist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					zstyle ':completion:*:processes'          command 'ps -ax'
 | 
				
			||||||
 | 
					zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;32'
 | 
				
			||||||
 | 
					zstyle ':completion:*:*:kill:*'           menu yes select
 | 
				
			||||||
 | 
					zstyle ':completion:*:kill:*'             force-list always
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					zstyle ':completion:*:processes-names'    command 'ps -e -o comm='
 | 
				
			||||||
 | 
					zstyle ':completion:*:*:killall:*'        menu yes select
 | 
				
			||||||
 | 
					zstyle ':completion:*:killall:*'          force-list always
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,6 +26,9 @@ if command -v fzf > /dev/null 2>&1; then
 | 
				
			|||||||
	if [ -e /usr/share/doc/fzf/examples/key-bindings.zsh ]; then
 | 
						if [ -e /usr/share/doc/fzf/examples/key-bindings.zsh ]; then
 | 
				
			||||||
		.  /usr/share/doc/fzf/examples/key-bindings.zsh
 | 
							.  /usr/share/doc/fzf/examples/key-bindings.zsh
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
 | 
						if [ -e /usr/share/doc/fzf/examples/completion.zsh ]; then
 | 
				
			||||||
 | 
							. /usr/share/doc/fzf/examples/completion.zsh
 | 
				
			||||||
 | 
						fi
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
if command -v git > /dev/null 2>&1; then
 | 
					if command -v git > /dev/null 2>&1; then
 | 
				
			||||||
	antibody bundle ohmyzsh/ohmyzsh path:plugins/git
 | 
						antibody bundle ohmyzsh/ohmyzsh path:plugins/git
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user