mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			257 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			257 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
# Added `capit` because `cap` is a reserved word. `cap` completion doesn't work.
 | 
						|
# http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcap-Module
 | 
						|
 | 
						|
function capit() {
 | 
						|
  if [ -f Gemfile ]
 | 
						|
  then
 | 
						|
    bundle exec cap $*
 | 
						|
  else
 | 
						|
    cap $*
 | 
						|
  fi
 | 
						|
}
 |