[Fish] Simplify rsync abbreviation
This commit is contained in:
		
							parent
							
								
									31f33ea658
								
							
						
					
					
						commit
						02137f0c4a
					
				@ -456,20 +456,20 @@ of a directory. Notice also the =--preserve-root= which will prevent me from
 | 
				
			|||||||
accidentally removing the root folder. I added the same option to =chgrp=,
 | 
					accidentally removing the root folder. I added the same option to =chgrp=,
 | 
				
			||||||
=chmod=, and =chown=.
 | 
					=chmod=, and =chown=.
 | 
				
			||||||
#+NAME: sec-abbr
 | 
					#+NAME: sec-abbr
 | 
				
			||||||
| abbreviation | command                   |
 | 
					| abbreviation | command                  |
 | 
				
			||||||
|--------------+---------------------------|
 | 
					|--------------+--------------------------|
 | 
				
			||||||
| cp           | cp -i                     |
 | 
					| cp           | cp -i                    |
 | 
				
			||||||
| rsync        | rsync -ruvtEhl --progress |
 | 
					| rsync        | rsync -Pa --progress     |
 | 
				
			||||||
| ln           | ln -i                     |
 | 
					| ln           | ln -i                    |
 | 
				
			||||||
| lns          | ln -si                    |
 | 
					| lns          | ln -si                   |
 | 
				
			||||||
| mv           | mv -i                     |
 | 
					| mv           | mv -i                    |
 | 
				
			||||||
| rm           | rm -Iv                    |
 | 
					| rm           | rm -Iv                   |
 | 
				
			||||||
| rmd          | rm --preserve-root -Irv   |
 | 
					| rmd          | rm --preserve-root -Irv  |
 | 
				
			||||||
| rmdf         | rm --preserve-root -Irfv  |
 | 
					| rmdf         | rm --preserve-root -Irfv |
 | 
				
			||||||
| rmf          | rm --preserve-root -Ifv   |
 | 
					| rmf          | rm --preserve-root -Ifv  |
 | 
				
			||||||
| chgrp        | chgrp --preserve-root -v  |
 | 
					| chgrp        | chgrp --preserve-root -v |
 | 
				
			||||||
| chmod        | chmod --preserve-root -v  |
 | 
					| chmod        | chmod --preserve-root -v |
 | 
				
			||||||
| chown        | chown --preserve-root -v  |
 | 
					| chown        | chown --preserve-root -v |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Here is the corresponding fish configuration:
 | 
					Here is the corresponding fish configuration:
 | 
				
			||||||
#+BEGIN_SRC fish
 | 
					#+BEGIN_SRC fish
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user