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




                                                            
# Compatible with ranger 1.5.3 through 1.7.*
#
# 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) '