bash: unalias all
This commit is contained in:
		
							parent
							
								
									e898af0e0d
								
							
						
					
					
						commit
						5e30fd7146
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
					@ -14,14 +14,13 @@ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PS1='\[\e[0m\][ \u@\h \[\e[34m\]\w\[\e[0m\] ]\n\$ '
 | 
					PS1='\[\e[0m\][ \u@\h \[\e[34m\]\w\[\e[0m\] ]\n\$ '
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					unalias -a
 | 
				
			||||||
 | 
					
 | 
				
			||||||
diff()   { command diff --color "$@"; }
 | 
					diff()   { command diff --color "$@"; }
 | 
				
			||||||
tailf()  { command less +F "$@"; }
 | 
					tailf()  { command less +F "$@"; }
 | 
				
			||||||
rgrep()  { command grep --exclude-dir=\.git -R "$@"; }
 | 
					rgrep()  { command grep --exclude-dir=\.git -R "$@"; }
 | 
				
			||||||
whence() { command -v "$@"; }
 | 
					whence() { command -v "$@"; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ls
 | 
					 | 
				
			||||||
unalias ls ld ll 2>/dev/null
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
ls() { command ls --color=auto "$@"; }
 | 
					ls() { command ls --color=auto "$@"; }
 | 
				
			||||||
ll() { ls -alh "$@"; }
 | 
					ll() { ls -alh "$@"; }
 | 
				
			||||||
ld() { ls -dlh "$@"; }
 | 
					ld() { ls -dlh "$@"; }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue