mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 21:31:19 +08:00 
			
		
		
		
	Revert "Fix pj() function when no project has been specified"
This reverts commit 7d298a3059f4df72866b4ef649675b594120f453.
This commit is contained in:
		
							parent
							
								
									24ac1aa348
								
							
						
					
					
						commit
						774c4eca6f
					
				@ -14,11 +14,6 @@ pj () {
 | 
			
		||||
        project=$*
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    if [[ -z "$project" ]]; then
 | 
			
		||||
        echo "You have to specify a project name."
 | 
			
		||||
        return
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    for basedir ($PROJECT_PATHS); do
 | 
			
		||||
        if [[ -d "$basedir/$project" ]]; then
 | 
			
		||||
            $cmd "$basedir/$project"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user