Spostamento file di configurazione locali.
This commit is contained in:
		
							parent
							
								
									02d62ba1b2
								
							
						
					
					
						commit
						e408b628ee
					
				
					 3 changed files with 18 additions and 26 deletions
				
			
		
							
								
								
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							|  | @ -6,4 +6,3 @@ vim/plugged | |||
| vim/pack | ||||
| vim/bundle | ||||
| vim/spell | ||||
| zsh/localconf.d | ||||
|  |  | |||
|  | @ -1,7 +0,0 @@ | |||
| # Directory di configurazione locale # | ||||
| 
 | ||||
| Se ci sono specifiche locali, meglio aggiungerle a questa cartella (che è | ||||
| esclusa dal controllo git). | ||||
| 
 | ||||
| Per essere caricati, i file dovrebbero terminare in `.conf`. Inoltre è stato | ||||
| forzato un sort, pertanto l'ideale sarebbe crearli con nome `000_nome.conf`. | ||||
							
								
								
									
										34
									
								
								zshrc
									
										
									
									
									
								
							
							
						
						
									
										34
									
								
								zshrc
									
										
									
									
									
								
							|  | @ -26,21 +26,19 @@ done | |||
| 
 | ||||
| # Antigen configuration | ||||
| # the main pluing should have been sourced in the previous loop. | ||||
| antigen bundle <<BUNDLES | ||||
|   command-not-found | ||||
|   common-aliases | ||||
|   copyfile | ||||
|   fd | ||||
|   fzf | ||||
|   git | ||||
|   pip | ||||
|   python | ||||
|   rsync | ||||
|   sudo | ||||
|   systemadmin | ||||
|   systemd | ||||
|   z | ||||
| BUNDLES | ||||
| antigen bundle command-not-found | ||||
| antigen bundle common-aliases | ||||
| antigen bundle copyfile | ||||
| antigen bundle fd | ||||
| antigen bundle fzf | ||||
| antigen bundle git | ||||
| antigen bundle pip | ||||
| antigen bundle python | ||||
| antigen bundle rsync | ||||
| antigen bundle sudo | ||||
| antigen bundle systemadmin | ||||
| antigen bundle systemd | ||||
| antigen bundle z | ||||
| antigen apply | ||||
| 
 | ||||
| # EDITOR | ||||
|  | @ -63,6 +61,8 @@ for file in `find $DOTFILES/zsh/aliases -iname \*.aliases.zsh -print`; do | |||
|   source $file | ||||
| done | ||||
| 
 | ||||
| for file in `find $DOTFILES/zsh/localconf.d -type f -iname \*.conf.zsh -print | sort`; do | ||||
| if [[ -d $HOME/.zsh/conf.d ]]; then | ||||
|   for file in `find $HOME/.zsh/conf.d -type f -iname \*.zsh -print | sort`; do | ||||
|     source file | ||||
| done | ||||
|   done | ||||
| fi | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue