use full path instead of \w in bash prompt
This commit is contained in:
		
							parent
							
								
									254d449118
								
							
						
					
					
						commit
						c2835a4120
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								bashrc
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								bashrc
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -59,7 +59,7 @@ prompt_command()
 | 
			
		|||
    else
 | 
			
		||||
        bang="${pred}>"
 | 
			
		||||
    fi
 | 
			
		||||
    ps_line1="[ ${prompt_user}${HOSTNAME}:${pbold}\w${preset} ]"
 | 
			
		||||
    ps_line1="[ ${prompt_user}${HOSTNAME}:${pbold}$(pwd)${preset} ]"
 | 
			
		||||
    ps_line2="${bang}${preset} "
 | 
			
		||||
    PS1="${ps_line1}\n${ps_line2}"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue