From c0f2fc72eccb4127fba5f48ce4b422487d6ec752 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 13 Apr 2015 12:49:49 +0200 Subject: moved "doc/examples" to "examples" for more visibility --- examples/bash_subshell_notice.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 examples/bash_subshell_notice.sh (limited to 'examples/bash_subshell_notice.sh') diff --git a/examples/bash_subshell_notice.sh b/examples/bash_subshell_notice.sh new file mode 100644 index 00000000..bc44d5a8 --- /dev/null +++ b/examples/bash_subshell_notice.sh @@ -0,0 +1,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) ' -- cgit 1.4.1-2-gfad0