cannot use $PWD until I stop using bash-git-prompt
This commit is contained in:
		
							parent
							
								
									3fe7c056de
								
							
						
					
					
						commit
						72e8ef0d83
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								bashrc
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								bashrc
									
										
									
									
									
								
							| 
						 | 
					@ -59,7 +59,7 @@ prompt_command()
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
        bang="${pnred}>"
 | 
					        bang="${pnred}>"
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
    PS1="[ ${prompt_user}${HOSTNAME}:${pbold}${PWD}${preset} ]${newline}${bang}${preset} "
 | 
					    PS1="[ ${prompt_user}${HOSTNAME}:${pbold}\w${preset} ]${newline}${bang}${preset} "
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
PROMPT_COMMAND=prompt_command
 | 
					PROMPT_COMMAND=prompt_command
 | 
				
			||||||
# }}}
 | 
					# }}}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue