about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDmytro Meleshko <dmytro.meleshko@gmail.com>2019-11-06 22:38:54 +0200
committerDmytro Meleshko <dmytro.meleshko@gmail.com>2019-11-06 22:38:54 +0200
commit5dc0d60a56679da5f98cfc8a03273ccafa6d016a (patch)
tree2f3a8099427ee2b1b3933ace12aad78f551cb8e8
parent77154c4e07d2ccb2288361e303b2484523947189 (diff)
downloadranger-5dc0d60a56679da5f98cfc8a03273ccafa6d016a.tar.gz
Added shellcheck directives for specifying shell
-rw-r--r--examples/shell_automatic_cd.sh2
-rw-r--r--examples/shell_subshell_notice.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/shell_automatic_cd.sh b/examples/shell_automatic_cd.sh
index c4d79cb9..391946c7 100644
--- a/examples/shell_automatic_cd.sh
+++ b/examples/shell_automatic_cd.sh
@@ -1,3 +1,5 @@
+# shellcheck shell=sh
+
 # Compatible with ranger 1.4.2 through 1.9.*
 #
 # Automatically change the current working directory after closing ranger
diff --git a/examples/shell_subshell_notice.sh b/examples/shell_subshell_notice.sh
index 1db88bfc..0d8d2431 100644
--- a/examples/shell_subshell_notice.sh
+++ b/examples/shell_subshell_notice.sh
@@ -1,3 +1,5 @@
+# shellcheck shell=sh
+
 # Compatible with ranger 1.5.3 through 1.9.*
 #
 # Change the prompt when you open a shell from inside ranger