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

                     
                                            
 

                                                            

                                                                               

                                                  
# shellcheck shell=sh

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

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