Merge pull request #67 from X-dark/master
Update README: add bash example for setting dir
This commit is contained in:
		
						commit
						a3b33d40b3
					
				
							
								
								
									
										10
									
								
								README.rst
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.rst
									
									
									
									
									
								
							@ -61,6 +61,16 @@ INSERT MODE
 | 
			
		||||
                __vte_ps1
 | 
			
		||||
              }
 | 
			
		||||
            fi
 | 
			
		||||
       ::
 | 
			
		||||
 | 
			
		||||
       For example, with bash:
 | 
			
		||||
 | 
			
		||||
       .. code:: sh
 | 
			
		||||
 | 
			
		||||
            if [[ $TERM == xterm-termite ]]; then
 | 
			
		||||
              . /etc/profile.d/vte.sh
 | 
			
		||||
              PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'__vte_ps1'
 | 
			
		||||
            fi
 | 
			
		||||
 | 
			
		||||
COMMAND MODE
 | 
			
		||||
------------
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user