diff options
author | hut <hut@lavabit.com> | 2012-08-06 06:32:04 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-08-06 06:39:26 +0200 |
commit | 796074b541aaca459c594fe517c11d275778eef6 (patch) | |
tree | 0cc5c6450625a97a3375d6856b4ef07ca581ecdf /examples/bash_subshell_notice.sh | |
parent | 13cb3fc49c07ba45f12508000ac615ff2e9b3e23 (diff) | |
download | ranger-796074b541aaca459c594fe517c11d275778eef6.tar.gz |
added the examples from the man page to the examples directory
I guess a whole directory for examples scales better than having them in the man page.
Diffstat (limited to 'examples/bash_subshell_notice.sh')
-rw-r--r-- | examples/bash_subshell_notice.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/bash_subshell_notice.sh b/examples/bash_subshell_notice.sh new file mode 100644 index 00000000..b6b03d74 --- /dev/null +++ b/examples/bash_subshell_notice.sh @@ -0,0 +1,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) ' |