summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-03-29 15:36:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-03-29 18:24:58 +0900
commit2bbae0e91acf1090bbcea49476ef007162ec8e2b (patch)
tree98a3c5b6d4943d58931ee30845e33135a94b076b
parente97f21afcd0abbc1b03a070f9385ec7b765e5a71 (diff)
[ruby/optparse] Completion scripts themselves are not executable
https://github.com/ruby/optparse/commit/65d8aff935
-rw-r--r--misc/rb_optparse.bash3
-rw-r--r--[-rwxr-xr-x]misc/rb_optparse.zsh3
2 files changed, 4 insertions, 2 deletions
diff --git a/misc/rb_optparse.bash b/misc/rb_optparse.bash
index 8a59ec2..e2d2fde 100644
--- a/misc/rb_optparse.bash
+++ b/misc/rb_optparse.bash
@@ -1,4 +1,5 @@
-#! /bin/bash
+# -*- bash -*-
+#
# Completion for bash:
#
# (1) install this file,
diff --git a/misc/rb_optparse.zsh b/misc/rb_optparse.zsh
index a08b3dd..9e42eff 100755..100644
--- a/misc/rb_optparse.zsh
+++ b/misc/rb_optparse.zsh
@@ -1,4 +1,5 @@
-#!/bin/zsh
+# -*- zsh -*-
+#
# Completion for zsh:
# (based on <http://d.hatena.ne.jp/rubikitch/20071002/zshcomplete>)
#