mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-04 04:28:11 +00:00 
			
		
		
		
	create directory for completions;
add kind completion when kind is installed
This commit is contained in:
		
							parent
							
								
									d35ce3fbc2
								
							
						
					
					
						commit
						f449a2d53f
					
				
					 2 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -7,6 +7,7 @@ actions:
 | 
			
		|||
    [[ ! -d ${{HOME}}/.oh-my-zsh ]] && sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" "" --unattended || echo "do nothing" >/dev/null
 | 
			
		||||
    [[ -f ${{HOME}}/.zshrc.pre-oh-my-zsh ]] && rm ${{HOME}}/.zshrc && mv ${{HOME}}/.zshrc.pre-oh-my-zsh ${{HOME}}/.zshrc || echo "do nothing" >/dev/null
 | 
			
		||||
    [[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins ]] && mkdir -p ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins || echo "do nothing" >/dev/null
 | 
			
		||||
    [[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/completions ]] && mkdir -p ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/completions || echo "do nothing" >/dev/null
 | 
			
		||||
    [[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/zsh-completions ]] && git clone https://github.com/zsh-users/zsh-completions.git ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/zsh-completions || echo "do nothing" >/dev/null
 | 
			
		||||
    [[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/fzf-tab-completion ]] && git clone https://github.com/lincheney/fzf-tab-completion.git ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/plugins/fzf-tab-completion || echo "do nothing" >/dev/null
 | 
			
		||||
  powerlevel9k-theme: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -160,6 +160,9 @@ if [ -f "{{@@ env['HOME'] @@}}/.local/bin/pipx" ]; then
 | 
			
		|||
  eval "$(register-python-argcomplete pipx)"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Add kind completions
 | 
			
		||||
[[ $(command -v kind) ]] && kind completion zsh > ${ZSH_CUSTOM:-{{@@ env['HOME'] @@}}/.oh-my-zsh/custom}/completions/_kind
 | 
			
		||||
 | 
			
		||||
{%@@ if profile == 'VWAGWOY00349' @@%}
 | 
			
		||||
# Decide which homebrew installation (x64_86 / arm64) should be used
 | 
			
		||||
if [ "$(sysctl -n sysctl.proc_translated)" = "1" ]; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue