about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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