mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	Aliases
Modify directory listing aliases to make more sense. Remove conflicting helper function (mcd conflicts with mtools).
This commit is contained in:
		@@ -16,8 +16,9 @@ alias history='fc -l 1'
 | 
			
		||||
 | 
			
		||||
# List direcory contents
 | 
			
		||||
alias lsa='ls -lah'
 | 
			
		||||
alias l='ls -la'
 | 
			
		||||
alias l='ls -lA1'
 | 
			
		||||
alias ll='ls -l'
 | 
			
		||||
alias la='ls -lA'
 | 
			
		||||
alias sl=ls # often screw this up
 | 
			
		||||
 | 
			
		||||
alias afind='ack-grep -il'
 | 
			
		||||
 
 | 
			
		||||
@@ -37,8 +37,3 @@ cd () {
 | 
			
		||||
alias md='mkdir -p'
 | 
			
		||||
alias rd=rmdir
 | 
			
		||||
alias d='dirs -v'
 | 
			
		||||
 | 
			
		||||
# mkdir & cd to it
 | 
			
		||||
function mcd() { 
 | 
			
		||||
  mkdir -p "$1" && cd "$1"; 
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user