about summary refs log tree commit diff stats
path: root/wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper.sh')
-rwxr-xr-xwrapper.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/wrapper.sh b/wrapper.sh
deleted file mode 100755
index 080033c2..00000000
--- a/wrapper.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-# Use this file to activate a special feature:
-# Changing the directory of the parent shell after exiting Ranger.
-# To use this, create an alias for this command in your shell config:
-#
-# source path/to/wrapper.sh path/to/ranger.py
-#
-# (This does not work with all shells, it was successfully tested
-# with bash and zsh though.)
-#
-if [ $1 ]; then
-	cd "`$1 --cd-after-exit $@ 3>&1 1>&2 2>&3 3>&-`"
-else
-	echo "use with: source path/to/wrapper.sh path/to/ranger.py"
-fi