[zsh] Disable the builtin on macOS so it doesn't conflict with the system log command
This commit is contained in:
		
							parent
							
								
									fb0a73a482
								
							
						
					
					
						commit
						ae71d58f19
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -16,6 +16,10 @@ binary_exists gls && init_rc_configure_ls `which gls`
 | 
			
		|||
# ldd doesn't exist on OS X, but otool -L does the same thing.
 | 
			
		||||
alias ldd='otool -L'
 | 
			
		||||
 | 
			
		||||
# From macOS's system zshrc.
 | 
			
		||||
# Disable the log builtin, so we don't conflict with /usr/bin/log
 | 
			
		||||
disable log
 | 
			
		||||
 | 
			
		||||
local sounds=/System/Library/Sounds
 | 
			
		||||
alias glass="afplay $sounds/Glass.aiff"
 | 
			
		||||
alias funk="afplay $sounds/Funk.aiff"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue