mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-03 20:18:10 +00:00 
			
		
		
		
	add plugins for aws, fzf and zsh-completions
This commit is contained in:
		
							parent
							
								
									cd3666fba7
								
							
						
					
					
						commit
						355c7bf340
					
				
					 2 changed files with 13 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -6,6 +6,9 @@ actions:
 | 
			
		|||
  oh-my-zsh: |
 | 
			
		||||
    [[ ! -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}}/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: |
 | 
			
		||||
    [[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes ]] && mkdir -p ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes || echo "do nothing" >/dev/null
 | 
			
		||||
    [[ ! -d ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes/powerlevel9k ]] && git clone https://github.com/bhilburn/powerlevel9k.git ${{ZSH_CUSTOM:-${{HOME}}/.oh-my-zsh/custom}}/themes/powerlevel9k || echo "do nothing" >/dev/null
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -85,8 +85,10 @@ COMPLETION_WAITING_DOTS="true"
 | 
			
		|||
# Add wisely, as too many plugins slow down shell startup.
 | 
			
		||||
plugins=(
 | 
			
		||||
{%@@ if profile == 'yoetunheimr' or profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' @@%}  archlinux
 | 
			
		||||
{%@@ endif @@%}  colored-man-pages
 | 
			
		||||
{%@@ endif @@%}  aws
 | 
			
		||||
  colored-man-pages
 | 
			
		||||
  cp
 | 
			
		||||
  fzf
 | 
			
		||||
  git
 | 
			
		||||
  git-extras
 | 
			
		||||
  gitignore
 | 
			
		||||
| 
						 | 
				
			
			@ -101,9 +103,16 @@ plugins=(
 | 
			
		|||
  systemd
 | 
			
		||||
  themes
 | 
			
		||||
  vscode
 | 
			
		||||
  zsh-completions
 | 
			
		||||
  zsh-navigation-tools
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
autoload -U compinit && compinit
 | 
			
		||||
 | 
			
		||||
# Try on linux without fig
 | 
			
		||||
#source {{@@ env['HOME'] @@}}/.oh-my-zsh/custom/plugins/fzf-tab-completion/zsh/fzf-zsh-completion.sh
 | 
			
		||||
#zstyle ':completion:*' fzf-search-display true
 | 
			
		||||
 | 
			
		||||
source ${ZSH}/oh-my-zsh.sh
 | 
			
		||||
 | 
			
		||||
# User configuration
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue