Update sync script
This commit is contained in:
		
					parent
					
						
							
								a5ac357f75
							
						
					
				
			
			
				commit
				
					
						78a98083f8
					
				
			
		
					 2 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -4,13 +4,14 @@ set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for repo in ~/.ctt \
 | 
					for repo in ~/.ctt \
 | 
				
			||||||
                ~/vcs/notes/ \
 | 
					                ~/vcs/notes/ \
 | 
				
			||||||
                ~/vcs/ungleich-administrativ/ \
 | 
					 | 
				
			||||||
                ~/vcs/mindmap/ \
 | 
					                ~/vcs/mindmap/ \
 | 
				
			||||||
 | 
					                ~/vcs/ungleich-administrativ/ \
 | 
				
			||||||
                ~/.password-store \
 | 
					                ~/.password-store \
 | 
				
			||||||
            ; do
 | 
					            ; do
 | 
				
			||||||
 | 
					    echo $repo
 | 
				
			||||||
    cd $repo
 | 
					    cd $repo
 | 
				
			||||||
    git add .
 | 
					    git add .
 | 
				
			||||||
    git commit -m "updated by $0"
 | 
					    git commit -m "updated by $0"  || true
 | 
				
			||||||
    git pull
 | 
					    git pull
 | 
				
			||||||
    git push
 | 
					    git push
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								x-auto
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								x-auto
									
										
									
									
									
								
							| 
						 | 
					@ -5,7 +5,7 @@ if [ "$#" -lt 1 ]; then
 | 
				
			||||||
    set -- "$@" above
 | 
					    set -- "$@" above
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
primary=eDP-1
 | 
					primary=eDP1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# position: something xrandr understands
 | 
					# position: something xrandr understands
 | 
				
			||||||
position=$1; shift
 | 
					position=$1; shift
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue