chore: replace shebang with shellcheck 🎨

pull/2212/head
Roberto Schiavone 2023-08-11 23:35:15 +02:00
parent e38696a0ac
commit 076afcd329
No known key found for this signature in database
GPG Key ID: 33C263EBFDCA29CF
51 changed files with 50 additions and 52 deletions

View File

@ -1,4 +1,4 @@
#! bash # shellcheck shell=bash
# bash completion for the `bundle` command. # bash completion for the `bundle` command.
# #
# Copyright (c) 2008 Daniel Luz # Copyright (c) 2008 Daniel Luz

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Bash completion support for Capistrano. # Bash completion support for Capistrano.
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Bash completion support for the 'dirs' plugin (commands G, R). # Bash completion support for the 'dirs' plugin (commands G, R).
_dirs-complete() { _dirs-complete() {

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
if _command_exists kind; then if _command_exists kind; then
eval "$(kind completion bash)" eval "$(kind completion bash)"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Bash Maven completion # Bash Maven completion
_mvn() _mvn()

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# nvm (Node Version Manager) completion # nvm (Node Version Manager) completion

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Bash completion support for Rake, Ruby Make. # Bash completion support for Rake, Ruby Make.
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Bash completion support for RVM. # Bash completion support for RVM.
# Source: https://rvm.io/workflow/completion # Source: https://rvm.io/workflow/completion

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Bash completion support for ssh. # Bash completion support for ssh.
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Make sure terraform is installed # Make sure terraform is installed
_command_exists terraform || return _command_exists terraform || return

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# tmux completion # tmux completion
# See: http://www.debian-administration.org/articles/317 for how to write more. # See: http://www.debian-administration.org/articles/317 for how to write more.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# #
# This is an example file. Don't use this for your custom scripts. Instead, create another file within the # This is an example file. Don't use this for your custom scripts. Instead, create another file within the
# custom directory. # custom directory.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
cite about-plugin cite about-plugin
about-plugin 'sshagent helper functions' about-plugin 'sshagent helper functions'

View File

@ -1,5 +1,3 @@
#!/usr/bin/env bash
# If not running interactively, don't do anything # If not running interactively, don't do anything
case $- in case $- in
*i*) ;; *i*) ;;

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash # shellcheck shell=bash
alias test_alias="a" alias test_alias="a"

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash # shellcheck shell=bash
alias test_alias="b" alias test_alias="b"

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash # shellcheck shell=bash
alias test_alias="c" alias test_alias="c"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Emoji-based theme to display source control management and # Emoji-based theme to display source control management and
# virtual environment info beside the ordinary bash prompt. # virtual environment info beside the ordinary bash prompt.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Theme inspired on: # Theme inspired on:
# - Ronacher's dotfiles (mitsuhikos) - http://github.com/mitsuhiko/dotfiles/tree/master/bash/ # - Ronacher's dotfiles (mitsuhikos) - http://github.com/mitsuhiko/dotfiles/tree/master/bash/

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Simplistic one-liner theme to display source control management info beside # Simplistic one-liner theme to display source control management info beside
# the ordinary Linux bash prompt. # the ordinary Linux bash prompt.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_THEME_PROMPT_PREFIX="${cyan} on ${green}" SCM_THEME_PROMPT_PREFIX="${cyan} on ${green}"
SCM_THEME_PROMPT_SUFFIX="" SCM_THEME_PROMPT_SUFFIX=""

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}" SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}" SCM_THEME_PROMPT_CLEAN=" ${bold_green}"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}" SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}" SCM_THEME_PROMPT_CLEAN=" ${bold_green}"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}" SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}" SCM_THEME_PROMPT_CLEAN=" ${bold_green}"
SCM_THEME_PROMPT_PREFIX=" |" SCM_THEME_PROMPT_PREFIX=" |"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# #
# One line prompt showing the following configurable information # One line prompt showing the following configurable information
# for git: # for git:

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
. "$BASH_IT/themes/gitline/powerline.base.bash" . "$BASH_IT/themes/gitline/powerline.base.bash"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# #
# This theme was obviously inspired a lot by # This theme was obviously inspired a lot by
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_GIT_CHAR="± " SCM_GIT_CHAR="± "
SCM_HG_CHAR="☿ " SCM_HG_CHAR="☿ "
SCM_SVN_CHAR="⑆ " SCM_SVN_CHAR="⑆ "

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Wrapper to use liquidprompt with bashit # Wrapper to use liquidprompt with bashit
targetdir="$BASH_IT/themes/liquidprompt/liquidprompt" targetdir="$BASH_IT/themes/liquidprompt/liquidprompt"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}" SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}" SCM_THEME_PROMPT_CLEAN=" ${bold_green}"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Emoji-based theme to display source control management and # Emoji-based theme to display source control management and
# virtual environment info beside the ordinary bash prompt. # virtual environment info beside the ordinary bash prompt.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_THEME_PROMPT_PREFIX="${cyan}(${green}" SCM_THEME_PROMPT_PREFIX="${cyan}(${green}"
SCM_THEME_PROMPT_SUFFIX="${cyan})" SCM_THEME_PROMPT_SUFFIX="${cyan})"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# n0qorg theme by Florian Baumann <flo@noqqe.de> # n0qorg theme by Florian Baumann <flo@noqqe.de>
## look-a-like ## look-a-like

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}" SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${green}" SCM_THEME_PROMPT_CLEAN=" ${green}"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
. "$BASH_IT/themes/powerline-multiline/powerline-multiline.base.bash" . "$BASH_IT/themes/powerline-multiline/powerline-multiline.base.bash"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
. "$BASH_IT/themes/powerline-naked/powerline-naked.base.bash" . "$BASH_IT/themes/powerline-naked/powerline-naked.base.bash"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
. "$BASH_IT/themes/powerline-plain/powerline-plain.base.bash" . "$BASH_IT/themes/powerline-plain/powerline-plain.base.bash"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Power-Turk theme for bash-it # Power-Turk theme for bash-it
# Author (C) 2015 Ahmed Seref Guneysu # Author (C) 2015 Ahmed Seref Guneysu

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# based of the candy theme, but minimized by odbol # based of the candy theme, but minimized by odbol
function prompt_command() { function prompt_command() {

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}" SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${green}" SCM_THEME_PROMPT_CLEAN=" ${green}"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
GIT_THEME_PROMPT_DIRTY="${red}" GIT_THEME_PROMPT_DIRTY="${red}"
GIT_THEME_PROMPT_CLEAN="${bold_green}" GIT_THEME_PROMPT_CLEAN="${bold_green}"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# Theme inspired on: # Theme inspired on:
# - Ronacher's dotfiles (mitsuhikos) - http://github.com/mitsuhiko/dotfiles/tree/master/bash/ # - Ronacher's dotfiles (mitsuhikos) - http://github.com/mitsuhiko/dotfiles/tree/master/bash/

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
. "$BASH_IT/themes/powerline/powerline.base.bash" . "$BASH_IT/themes/powerline/powerline.base.bash"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${bold_yellow}" SCM_THEME_PROMPT_DIRTY=" ${bold_yellow}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}" SCM_THEME_PROMPT_CLEAN=" ${bold_green}"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
export GIT_PS1_SHOWDIRTYSTATE=true export GIT_PS1_SHOWDIRTYSTATE=true
export GIT_PS1_SHOWUNTRACKEDFILES=true export GIT_PS1_SHOWUNTRACKEDFILES=true

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# prompt themeing # prompt themeing

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
__tonka_time() { __tonka_time() {
THEME_CLOCK_FORMAT="%H%M" THEME_CLOCK_FORMAT="%H%M"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_THEME_PROMPT_PREFIX=" ${purple}" SCM_THEME_PROMPT_PREFIX=" ${purple}"
SCM_THEME_PROMPT_SUFFIX=" ${normal}" SCM_THEME_PROMPT_SUFFIX=" ${normal}"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# #
# Based on 'bobby' theme with the addition of virtualenv_prompt # Based on 'bobby' theme with the addition of virtualenv_prompt
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}" SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}" SCM_THEME_PROMPT_CLEAN=" ${bold_green}"
SCM_THEME_PROMPT_PREFIX=" |" SCM_THEME_PROMPT_PREFIX=" |"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash # shellcheck shell=bash
# zitron theme by Florian Baumann <flo@noqqe.de> # zitron theme by Florian Baumann <flo@noqqe.de>
## git-theme ## git-theme