Skip to content

Commit

Permalink
completions: Add shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
nntoan authored and akinomyoga committed Jan 15, 2022
1 parent 6569405 commit af20bfb
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 10 deletions.
1 change: 1 addition & 0 deletions completions/awscli.completion.sh
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#!/usr/bin/env bash
[[ -x "$(which aws_completer)" ]] &>/dev/null && complete -C "$(which aws_completer)" aws
1 change: 1 addition & 0 deletions completions/brew.completion.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
if _omb_util_command_exists brew; then
_omb_completion_brew_prefix=$(brew --prefix)
if [[ $_omb_completion_brew_prefix ]]; then
Expand Down
2 changes: 1 addition & 1 deletion completions/bundler.completion.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! bash
#!/usr/bin/env bash
# bash completion for the `bundle` command.
#
# Copyright (c) 2011-2013 Daniel Luz <dev at mernen dot com>.
Expand Down
1 change: 1 addition & 0 deletions completions/defaults.completion.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# defaults
# Bash command line completion for defaults
#
Expand Down
1 change: 1 addition & 0 deletions completions/django.completion.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# #########################################################################
# This bash script adds tab-completion feature to django-admin.py and
# manage.py.
Expand Down
2 changes: 1 addition & 1 deletion completions/docker-compose.completion.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!bash
#!/usr/bin/env bash
#
# bash completion for docker-compose
#
Expand Down
2 changes: 1 addition & 1 deletion completions/docker-machine.completion.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#
#!/usr/bin/env bash
# bash completion file for docker-machine commands
#
# This script provides completion of:
Expand Down
2 changes: 1 addition & 1 deletion completions/docker.completion.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# bash completion file for core docker commands
#
Expand Down
1 change: 1 addition & 0 deletions completions/gh.completion.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# hub tab-completion script for bash.
# This script complements the completion script that ships with git.

Expand Down
1 change: 1 addition & 0 deletions completions/git.completion.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# bash/zsh completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion completions/git_flow.completion.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!bash
#!/usr/bin/env bash
#
# git-flow-completion
# ===================
Expand Down
2 changes: 1 addition & 1 deletion completions/git_flow_avh.completion.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!bash
#!/usr/bin/env bash
#
# git-flow-completion
# ===================
Expand Down
1 change: 1 addition & 0 deletions completions/gradle.completion.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
function __gradle {
local cur=${COMP_WORDS[COMP_CWORD]}
local tasks=''
Expand Down
2 changes: 1 addition & 1 deletion completions/grunt.completion.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# grunt-cli
# http://gruntjs.com/
Expand Down
2 changes: 1 addition & 1 deletion completions/gulp.completion.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Borrowed from grunt-cli
# http://gruntjs.com/
#
Expand Down
1 change: 1 addition & 0 deletions completions/homesick.completion.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Bash completion script for homesick
#
# The homebrew bash completion script was used as inspiration.
Expand Down
1 change: 1 addition & 0 deletions completions/hub.completion.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# hub tab-completion script for bash.
# This script complements the completion script that ships with git.

Expand Down
1 change: 1 addition & 0 deletions completions/jboss7.completion.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Completions for JBoss Application Server 7 (EAP 6)
# VERSION: 0.6
# DATE: 2012-10-30
Expand Down
2 changes: 1 addition & 1 deletion completions/vagrant.completion.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# (The MIT License)
#
Expand Down
1 change: 1 addition & 0 deletions completions/vault.completion.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# ---------------------------------------------------------------------------
# vault-bash-completion
#
Expand Down
2 changes: 1 addition & 1 deletion completions/virtualbox.completion.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash
_vboxmanage_realopts() {
echo $(vboxmanage|grep -i vboxmanage|cut -d' ' -f2|grep '\['|tr -s '[\[\|\]\n' ' ')
echo " "
Expand Down
1 change: 1 addition & 0 deletions plugins/ansible/ansible.plugin.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Functions
function ansible-version(){
ansible --version
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/aws.plugin.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# aws.plugin.sh
# Author: Michael Anckaert <[email protected]>
# Based on oh-my-zsh AWS plugin
Expand Down

0 comments on commit af20bfb

Please sign in to comment.