about summary refs log blame commit diff stats
path: root/examples/shell_subshell_notice.sh
blob: a3c39dc00a256f8ab0d688102f095cc6be3d499e (plain) (tree)
1
2
3
4
5
6
7
                                            
 

                                                            
                                                                                

                                                  
# Compatible with ranger 1.5.3 through 1.9.*
#
# Change the prompt when you open a shell from inside ranger
#
# Add this line to your shell startup file (.bashrc, .zshrc etc) for it to work.

[ -n "$RANGER_LEVEL" ] && PS1="$PS1"'(in ranger) '