summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-18 01:18:14 +0100
committerhut <hut@lavabit.com>2013-02-18 01:18:14 +0100
commit2b3110fcfe4ecfeec120c700eb7b7ddb85c4fc40 (patch)
treec76669a6c6d25aab8c5ea618b8b363aa5659b913
parente5238c692c74c9ee361c91f1e7cf2bdecf7418a0 (diff)
downloadranger-2b3110fcfe4ecfeec120c700eb7b7ddb85c4fc40.tar.gz
README: removed bash dependency
-rw-r--r--README1
-rw-r--r--doc/ranger.12
-rw-r--r--doc/ranger.pod2
-rw-r--r--ranger/config/rifle.conf2
-rw-r--r--ranger/core/main.py2
5 files changed, 4 insertions, 5 deletions
diff --git a/README b/README
index 52a0b66c..f5057a01 100644
--- a/README
+++ b/README
@@ -60,7 +60,6 @@ Optional:
 * w3m for the "w3mimgdisplay" program to preview images
 
 Optional, for enhanced file previews (with "scope.sh"):
-* bash for running scope.sh
 * img2txt (from caca-utils) for previewing images
 * highlight for syntax highlighting of code
 * atool for previews of archives
diff --git a/doc/ranger.1 b/doc/ranger.1
index 124e0418..453f9d29 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -1031,7 +1031,7 @@ program out of \*(L"vim\*(R", \*(L"emacs\*(R" and \*(L"nano\*(R".
 .IP "\s-1SHELL\s0" 8
 .IX Item "SHELL"
 Defines the shell that ranger is going to use with the :shell command and
-the \*(L"S\*(R" key.  Defaults to \*(L"bash\*(R".
+the \*(L"S\*(R" key.  Defaults to \*(L"/bin/sh\*(R".
 .IP "\s-1TERMCMD\s0" 8
 .IX Item "TERMCMD"
 Defines the terminal emulator command that ranger is going to use with the
diff --git a/doc/ranger.pod b/doc/ranger.pod
index c4e5c92c..1e3a7242 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -1117,7 +1117,7 @@ program out of "vim", "emacs" and "nano".
 =item SHELL
 
 Defines the shell that ranger is going to use with the :shell command and
-the "S" key.  Defaults to "bash".
+the "S" key.  Defaults to "/bin/sh".
 
 =item TERMCMD
 
diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf
index 842c85e2..cc369cda 100644
--- a/ranger/config/rifle.conf
+++ b/ranger/config/rifle.conf
@@ -96,7 +96,7 @@ name ^[mM]akefile$            = make
 ext py  = python -- "$1"
 ext pl  = perl -- "$1"
 ext rb  = ruby -- "$1"
-ext sh  = bash -- "$1"
+ext sh  = sh -- "$1"
 ext php = php -- "$1"
 
 #--------------------------------------------
diff --git a/ranger/core/main.py b/ranger/core/main.py
index bdebbccc..16096deb 100644
--- a/ranger/core/main.py
+++ b/ranger/core/main.py
@@ -34,7 +34,7 @@ def main():
         os.environ[level] = '1'
 
     if not 'SHELL' in os.environ:
-        os.environ['SHELL'] = 'bash'
+        os.environ['SHELL'] = 'sh'
 
     ranger.arg = arg = parse_arguments()
     if arg.copy_config is not None: