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.
#
# Copyright (c) 2008 Daniel Luz

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# Bash completion support for Capistrano.
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).
_dirs-complete() {

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# 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.
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# tmux completion
# 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
# custom directory.

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
# shellcheck shell=bash
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
# virtual environment info beside the ordinary bash prompt.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# Theme inspired on:
# - 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
# 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_SUFFIX=""

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}"
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_CLEAN=" ${bold_green}"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}"
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
# for git:

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=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
#

View File

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

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# Wrapper to use liquidprompt with bashit
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_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
# 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_SUFFIX="${cyan})"

View File

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

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}"
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"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=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"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# Power-Turk theme for bash-it
# 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
function prompt_command() {

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}"
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_CLEAN="${bold_green}"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# Theme inspired on:
# - 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"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${bold_yellow}"
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_SHOWUNTRACKEDFILES=true

View File

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

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
__tonka_time() {
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_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
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}"
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>
## git-theme