mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	* fix(cp): add unique suffix to rsync backup directory for each user * fix(cp): use `USERNAME` rather than `USER`
		
			
				
	
	
		
			5 lines
		
	
	
		
			118 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			118 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
cpv() {
 | 
						|
    rsync -pogbr -hhh --backup-dir="/tmp/rsync-${USERNAME}" -e /dev/null --progress "$@"
 | 
						|
}
 | 
						|
compdef _files cpv
 |