summary refs log tree commit diff stats
path: root/examples/bash_subshell_notice.sh
blob: b6b03d745102cc004ce1ac1826e5ab61a9787f72 (plain) (blame)
1
2
3
4
5
# 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) '