mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-04 04:28:11 +00:00 
			
		
		
		
	remove not required unlias commands
This commit is contained in:
		
							parent
							
								
									21e3780b8b
								
							
						
					
					
						commit
						b853f45327
					
				
					 2 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -22,11 +22,9 @@ export ANSIBLE_NOCOWS=1
 | 
			
		|||
 | 
			
		||||
# exa
 | 
			
		||||
if [[ $(command -v exa) ]]; then
 | 
			
		||||
        [[ $(whence -w l) == *alias* ]] && unalias l
 | 
			
		||||
        lfunc() {
 | 
			
		||||
                exal -T -L ${1:-1}
 | 
			
		||||
        }
 | 
			
		||||
        [[ $(whence -w la) == *alias* ]] && unalias la
 | 
			
		||||
        lafunc() {
 | 
			
		||||
                exal -a -T -L ${1:-1}
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			@ -34,6 +32,7 @@ if [[ $(command -v exa) ]]; then
 | 
			
		|||
        alias l='lfunc'
 | 
			
		||||
        alias la='lafunc'
 | 
			
		||||
        alias ll="lfunc 2"
 | 
			
		||||
        alias lla='lafunc 2'
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -160,11 +160,9 @@ alias ssh-no-check="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/n
 | 
			
		|||
 | 
			
		||||
# exa
 | 
			
		||||
if [[ $(command -v exa) ]]; then
 | 
			
		||||
        [[ $(whence -w l) == *alias* ]] && unalias l
 | 
			
		||||
        lfunc() {
 | 
			
		||||
                exal -T -L ${1:-1}
 | 
			
		||||
        }
 | 
			
		||||
        [[ $(whence -w la) == *alias* ]] && unalias la
 | 
			
		||||
        lafunc() {
 | 
			
		||||
                exal -a -T -L ${1:-1}
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			@ -172,6 +170,7 @@ if [[ $(command -v exa) ]]; then
 | 
			
		|||
        alias l='lfunc'
 | 
			
		||||
        alias la='lafunc'
 | 
			
		||||
        alias ll="lfunc 2"
 | 
			
		||||
        alias lla='lafunc 2'
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Initialize pyenv
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue