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



                                                            
# Compatible with ranger 1.5.3 through 1.6.*
#
# Change the prompt when you open a shell from inside ranger
#
# Add this line to your .bashrc for it to work.

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