mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-04 04:28:11 +00:00 
			
		
		
		
	use extenend flag only for la
This commit is contained in:
		
							parent
							
								
									78b3209ea4
								
							
						
					
					
						commit
						e85471200f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -11,13 +11,13 @@
 | 
			
		|||
# exa - set aliasses for exa to use it as ls replacement
 | 
			
		||||
if [[ $(command -v exa) ]]; then
 | 
			
		||||
  exafunc() {
 | 
			
		||||
    exa -l -F -g -h --extended --git --group-directories-first --icons ${@:-}
 | 
			
		||||
    exa -l -F -g -h --git --group-directories-first --icons ${@:-}
 | 
			
		||||
  }
 | 
			
		||||
  lfunc() {
 | 
			
		||||
    exafunc -T -L ${1:-1}
 | 
			
		||||
  }
 | 
			
		||||
  lafunc() {
 | 
			
		||||
    exafunc -a -T -L ${1:-1}
 | 
			
		||||
    exafunc -a -T -L ${1:-1} --extended
 | 
			
		||||
  }
 | 
			
		||||
  alias l='lfunc'
 | 
			
		||||
  alias la='lafunc'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue