From 5a79364502fa5d908e81e60ee6e1d36174202047 Mon Sep 17 00:00:00 2001 From: Roberto Schiavone Date: Fri, 11 Aug 2023 23:35:15 +0200 Subject: [PATCH] chore: replace shebang with shellcheck :art: --- completion/available/bundler.completion.bash | 2 +- completion/available/capistrano.completion.bash | 2 +- completion/available/dirs.completion.bash | 2 +- completion/available/kind.completion.bash | 2 +- completion/available/maven.completion.bash | 2 +- completion/available/nvm.completion.bash | 2 +- completion/available/rake.completion.bash | 2 +- completion/available/rvm.completion.bash | 2 +- completion/available/ssh.completion.bash | 2 +- completion/available/terraform.completion.bash | 2 +- completion/available/tmux.completion.bash | 2 +- custom/example.bash | 2 +- plugins/available/sshagent.plugin.bash | 2 +- template/bash_profile.template.bash | 2 -- test/fixtures/bash_it/aliases/available/a.aliases.bash | 2 +- test/fixtures/bash_it/aliases/available/b.aliases.bash | 2 +- test/fixtures/bash_it/plugins/available/c.plugin.bash | 2 +- themes/cupcake/cupcake.theme.bash | 2 +- themes/demula/demula.theme.bash | 2 +- themes/dulcie/dulcie.theme.bash | 2 +- themes/duru/duru.theme.bash | 2 +- themes/elixr/elixr.theme.bash | 2 +- themes/emperor/emperor.theme.bash | 2 +- themes/envy/envy.theme.bash | 2 +- themes/font/font.theme.bash | 2 +- themes/gitline/gitline.theme.bash | 2 +- themes/hawaii50/hawaii50.theme.bash | 2 +- themes/iterate/iterate.theme.bash | 2 +- themes/liquidprompt/liquidprompt.theme.bash | 2 +- themes/luan/luan.theme.bash | 2 +- themes/metal/metal.theme.bash | 2 +- themes/minimal/minimal.theme.bash | 2 +- themes/n0qorg/n0qorg.theme.bash | 2 +- themes/newin/newin.theme.bash | 2 +- themes/powerline-multiline/powerline-multiline.theme.bash | 2 +- themes/powerline-naked/powerline-naked.theme.bash | 2 +- themes/powerline-plain/powerline-plain.theme.bash | 2 +- themes/powerturk/powerturk.theme.bash | 2 +- themes/primer/primer.theme.bash | 2 +- themes/pro/pro.theme.bash | 2 +- themes/radek/radek.theme.bash | 2 +- themes/rana/rana.theme.bash | 2 +- themes/redline/redline.theme.bash | 2 +- themes/robbyrussell/robbyrussell.theme.bash | 2 +- themes/roderik/roderik.theme.bash | 2 +- themes/simple/simple.theme.bash | 2 +- themes/tonka/tonka.theme.bash | 2 +- themes/tonotdo/tonotdo.theme.bash | 2 +- themes/tylenol/tylenol.theme.bash | 2 +- themes/wanelo/wanelo.theme.bash | 2 +- themes/zitron/zitron.theme.bash | 2 +- 51 files changed, 50 insertions(+), 52 deletions(-) diff --git a/completion/available/bundler.completion.bash b/completion/available/bundler.completion.bash index 663a26d2d8..b39d2f8d7a 100644 --- a/completion/available/bundler.completion.bash +++ b/completion/available/bundler.completion.bash @@ -1,4 +1,4 @@ -#! bash +# shellcheck shell=bash # bash completion for the `bundle` command. # # Copyright (c) 2008 Daniel Luz diff --git a/completion/available/capistrano.completion.bash b/completion/available/capistrano.completion.bash index d5fda06fa5..d3581a3e91 100644 --- a/completion/available/capistrano.completion.bash +++ b/completion/available/capistrano.completion.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # Bash completion support for Capistrano. export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} diff --git a/completion/available/dirs.completion.bash b/completion/available/dirs.completion.bash index ba18db3241..c17da7db88 100644 --- a/completion/available/dirs.completion.bash +++ b/completion/available/dirs.completion.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # Bash completion support for the 'dirs' plugin (commands G, R). _dirs-complete() { diff --git a/completion/available/kind.completion.bash b/completion/available/kind.completion.bash index be12a2d29c..002f0ab06e 100644 --- a/completion/available/kind.completion.bash +++ b/completion/available/kind.completion.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash if _command_exists kind; then eval "$(kind completion bash)" diff --git a/completion/available/maven.completion.bash b/completion/available/maven.completion.bash index 312164497d..5817f93b29 100644 --- a/completion/available/maven.completion.bash +++ b/completion/available/maven.completion.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # Bash Maven completion _mvn() diff --git a/completion/available/nvm.completion.bash b/completion/available/nvm.completion.bash index a82b82b61a..ceefb0b837 100644 --- a/completion/available/nvm.completion.bash +++ b/completion/available/nvm.completion.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # nvm (Node Version Manager) completion diff --git a/completion/available/rake.completion.bash b/completion/available/rake.completion.bash index 453354f981..5e484c55ff 100644 --- a/completion/available/rake.completion.bash +++ b/completion/available/rake.completion.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # Bash completion support for Rake, Ruby Make. export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} diff --git a/completion/available/rvm.completion.bash b/completion/available/rvm.completion.bash index cd8ded0468..b7eabdf3b5 100644 --- a/completion/available/rvm.completion.bash +++ b/completion/available/rvm.completion.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # Bash completion support for RVM. # Source: https://rvm.io/workflow/completion diff --git a/completion/available/ssh.completion.bash b/completion/available/ssh.completion.bash index 1f71f112d6..4119db177f 100644 --- a/completion/available/ssh.completion.bash +++ b/completion/available/ssh.completion.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # Bash completion support for ssh. export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} diff --git a/completion/available/terraform.completion.bash b/completion/available/terraform.completion.bash index 1452fca8b2..b1a50ab147 100644 --- a/completion/available/terraform.completion.bash +++ b/completion/available/terraform.completion.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # Make sure terraform is installed _command_exists terraform || return diff --git a/completion/available/tmux.completion.bash b/completion/available/tmux.completion.bash index 7992ccb4a0..ab20560dc2 100644 --- a/completion/available/tmux.completion.bash +++ b/completion/available/tmux.completion.bash @@ -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. diff --git a/custom/example.bash b/custom/example.bash index 3e66ba8082..05653f1f00 100644 --- a/custom/example.bash +++ b/custom/example.bash @@ -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. diff --git a/plugins/available/sshagent.plugin.bash b/plugins/available/sshagent.plugin.bash index 42acfb519e..da9784b86d 100644 --- a/plugins/available/sshagent.plugin.bash +++ b/plugins/available/sshagent.plugin.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash cite about-plugin about-plugin 'sshagent helper functions' diff --git a/template/bash_profile.template.bash b/template/bash_profile.template.bash index 3def286612..becaded7f5 100755 --- a/template/bash_profile.template.bash +++ b/template/bash_profile.template.bash @@ -1,5 +1,3 @@ -#!/usr/bin/env bash - # If not running interactively, don't do anything case $- in *i*) ;; diff --git a/test/fixtures/bash_it/aliases/available/a.aliases.bash b/test/fixtures/bash_it/aliases/available/a.aliases.bash index 9dede3f66c..7410181383 100644 --- a/test/fixtures/bash_it/aliases/available/a.aliases.bash +++ b/test/fixtures/bash_it/aliases/available/a.aliases.bash @@ -1,3 +1,3 @@ -#!/usr/bin/env bash +# shellcheck shell=bash alias test_alias="a" diff --git a/test/fixtures/bash_it/aliases/available/b.aliases.bash b/test/fixtures/bash_it/aliases/available/b.aliases.bash index 4f90a7ad66..f0321d491b 100644 --- a/test/fixtures/bash_it/aliases/available/b.aliases.bash +++ b/test/fixtures/bash_it/aliases/available/b.aliases.bash @@ -1,3 +1,3 @@ -#!/usr/bin/env bash +# shellcheck shell=bash alias test_alias="b" diff --git a/test/fixtures/bash_it/plugins/available/c.plugin.bash b/test/fixtures/bash_it/plugins/available/c.plugin.bash index 3d17ad7aeb..db52fd0f4d 100644 --- a/test/fixtures/bash_it/plugins/available/c.plugin.bash +++ b/test/fixtures/bash_it/plugins/available/c.plugin.bash @@ -1,3 +1,3 @@ -#!/usr/bin/env bash +# shellcheck shell=bash alias test_alias="c" diff --git a/themes/cupcake/cupcake.theme.bash b/themes/cupcake/cupcake.theme.bash index 889f3e68b4..0943cc914f 100644 --- a/themes/cupcake/cupcake.theme.bash +++ b/themes/cupcake/cupcake.theme.bash @@ -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. diff --git a/themes/demula/demula.theme.bash b/themes/demula/demula.theme.bash index 7d8d6cc8fe..df8c229335 100644 --- a/themes/demula/demula.theme.bash +++ b/themes/demula/demula.theme.bash @@ -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/ diff --git a/themes/dulcie/dulcie.theme.bash b/themes/dulcie/dulcie.theme.bash index f70c786491..a3061bc74f 100755 --- a/themes/dulcie/dulcie.theme.bash +++ b/themes/dulcie/dulcie.theme.bash @@ -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. diff --git a/themes/duru/duru.theme.bash b/themes/duru/duru.theme.bash index 69284100fd..e22ed78329 100644 --- a/themes/duru/duru.theme.bash +++ b/themes/duru/duru.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash SCM_THEME_PROMPT_PREFIX="${cyan} on ${green}" SCM_THEME_PROMPT_SUFFIX="" diff --git a/themes/elixr/elixr.theme.bash b/themes/elixr/elixr.theme.bash index 266abbad43..e2244afd76 100644 --- a/themes/elixr/elixr.theme.bash +++ b/themes/elixr/elixr.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash SCM_THEME_PROMPT_DIRTY=" ${red}✗" SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓" diff --git a/themes/emperor/emperor.theme.bash b/themes/emperor/emperor.theme.bash index e3f2df8c9e..706948b552 100644 --- a/themes/emperor/emperor.theme.bash +++ b/themes/emperor/emperor.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash SCM_THEME_PROMPT_DIRTY=" ${red}✗" SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓" diff --git a/themes/envy/envy.theme.bash b/themes/envy/envy.theme.bash index f4f09be84c..164a292246 100644 --- a/themes/envy/envy.theme.bash +++ b/themes/envy/envy.theme.bash @@ -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=" |" diff --git a/themes/font/font.theme.bash b/themes/font/font.theme.bash index 2dbccceadd..3b53cda5e1 100644 --- a/themes/font/font.theme.bash +++ b/themes/font/font.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # # One line prompt showing the following configurable information # for git: diff --git a/themes/gitline/gitline.theme.bash b/themes/gitline/gitline.theme.bash index 9a68f3703f..287943d59d 100644 --- a/themes/gitline/gitline.theme.bash +++ b/themes/gitline/gitline.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash . "$BASH_IT/themes/gitline/powerline.base.bash" diff --git a/themes/hawaii50/hawaii50.theme.bash b/themes/hawaii50/hawaii50.theme.bash index 404088d92d..9b05d255c2 100644 --- a/themes/hawaii50/hawaii50.theme.bash +++ b/themes/hawaii50/hawaii50.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # # This theme was obviously inspired a lot by # diff --git a/themes/iterate/iterate.theme.bash b/themes/iterate/iterate.theme.bash index cf682a9f82..b423d1d38b 100644 --- a/themes/iterate/iterate.theme.bash +++ b/themes/iterate/iterate.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash SCM_GIT_CHAR="± " SCM_HG_CHAR="☿ " SCM_SVN_CHAR="⑆ " diff --git a/themes/liquidprompt/liquidprompt.theme.bash b/themes/liquidprompt/liquidprompt.theme.bash index 60e64210c4..e9923fecd3 100644 --- a/themes/liquidprompt/liquidprompt.theme.bash +++ b/themes/liquidprompt/liquidprompt.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # Wrapper to use liquidprompt with bashit targetdir="$BASH_IT/themes/liquidprompt/liquidprompt" diff --git a/themes/luan/luan.theme.bash b/themes/luan/luan.theme.bash index 8b7059e1c7..9d77eca4bd 100644 --- a/themes/luan/luan.theme.bash +++ b/themes/luan/luan.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash SCM_THEME_PROMPT_DIRTY=" ${red}✗" SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓" diff --git a/themes/metal/metal.theme.bash b/themes/metal/metal.theme.bash index e0eddd2685..356a27a7ca 100644 --- a/themes/metal/metal.theme.bash +++ b/themes/metal/metal.theme.bash @@ -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. diff --git a/themes/minimal/minimal.theme.bash b/themes/minimal/minimal.theme.bash index 72fb2200d8..fb19bd0f09 100644 --- a/themes/minimal/minimal.theme.bash +++ b/themes/minimal/minimal.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash SCM_THEME_PROMPT_PREFIX="${cyan}(${green}" SCM_THEME_PROMPT_SUFFIX="${cyan})" diff --git a/themes/n0qorg/n0qorg.theme.bash b/themes/n0qorg/n0qorg.theme.bash index 12952913cb..1beff6a55a 100644 --- a/themes/n0qorg/n0qorg.theme.bash +++ b/themes/n0qorg/n0qorg.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # n0qorg theme by Florian Baumann ## look-a-like diff --git a/themes/newin/newin.theme.bash b/themes/newin/newin.theme.bash index 9f54dc8a11..5e6d5fdc86 100644 --- a/themes/newin/newin.theme.bash +++ b/themes/newin/newin.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash SCM_THEME_PROMPT_DIRTY=" ${red}✗" SCM_THEME_PROMPT_CLEAN=" ${green}✓" diff --git a/themes/powerline-multiline/powerline-multiline.theme.bash b/themes/powerline-multiline/powerline-multiline.theme.bash index 48a1243e03..b1c4efbadb 100644 --- a/themes/powerline-multiline/powerline-multiline.theme.bash +++ b/themes/powerline-multiline/powerline-multiline.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash . "$BASH_IT/themes/powerline-multiline/powerline-multiline.base.bash" diff --git a/themes/powerline-naked/powerline-naked.theme.bash b/themes/powerline-naked/powerline-naked.theme.bash index 2fb4137ef0..a857675717 100644 --- a/themes/powerline-naked/powerline-naked.theme.bash +++ b/themes/powerline-naked/powerline-naked.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash . "$BASH_IT/themes/powerline-naked/powerline-naked.base.bash" diff --git a/themes/powerline-plain/powerline-plain.theme.bash b/themes/powerline-plain/powerline-plain.theme.bash index 6ff68e8fae..bdba9bd0a7 100644 --- a/themes/powerline-plain/powerline-plain.theme.bash +++ b/themes/powerline-plain/powerline-plain.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash . "$BASH_IT/themes/powerline-plain/powerline-plain.base.bash" diff --git a/themes/powerturk/powerturk.theme.bash b/themes/powerturk/powerturk.theme.bash index 3352f68006..bfe492d966 100644 --- a/themes/powerturk/powerturk.theme.bash +++ b/themes/powerturk/powerturk.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # Power-Turk theme for bash-it # Author (C) 2015 Ahmed Seref Guneysu diff --git a/themes/primer/primer.theme.bash b/themes/primer/primer.theme.bash index c9cdb35d15..74d82af7c2 100644 --- a/themes/primer/primer.theme.bash +++ b/themes/primer/primer.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # based of the candy theme, but minimized by odbol function prompt_command() { diff --git a/themes/pro/pro.theme.bash b/themes/pro/pro.theme.bash index 1c7de29a34..c694265e17 100644 --- a/themes/pro/pro.theme.bash +++ b/themes/pro/pro.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash SCM_THEME_PROMPT_DIRTY=" ${red}✗" SCM_THEME_PROMPT_CLEAN=" ${green}✓" diff --git a/themes/radek/radek.theme.bash b/themes/radek/radek.theme.bash index bc47b01105..5f56f60899 100644 --- a/themes/radek/radek.theme.bash +++ b/themes/radek/radek.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash GIT_THEME_PROMPT_DIRTY="${red}✗" GIT_THEME_PROMPT_CLEAN="${bold_green}✓" diff --git a/themes/rana/rana.theme.bash b/themes/rana/rana.theme.bash index 3da74d6db7..3e2d3c0f15 100644 --- a/themes/rana/rana.theme.bash +++ b/themes/rana/rana.theme.bash @@ -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/ diff --git a/themes/redline/redline.theme.bash b/themes/redline/redline.theme.bash index e8810106b4..7dfcf500da 100644 --- a/themes/redline/redline.theme.bash +++ b/themes/redline/redline.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash . "$BASH_IT/themes/powerline/powerline.base.bash" diff --git a/themes/robbyrussell/robbyrussell.theme.bash b/themes/robbyrussell/robbyrussell.theme.bash index 956347dd5e..577108099f 100644 --- a/themes/robbyrussell/robbyrussell.theme.bash +++ b/themes/robbyrussell/robbyrussell.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash SCM_THEME_PROMPT_DIRTY=" ${bold_yellow}✗" SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓" diff --git a/themes/roderik/roderik.theme.bash b/themes/roderik/roderik.theme.bash index 8a1c1045e5..cb7b42ff28 100644 --- a/themes/roderik/roderik.theme.bash +++ b/themes/roderik/roderik.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash export GIT_PS1_SHOWDIRTYSTATE=true export GIT_PS1_SHOWUNTRACKEDFILES=true diff --git a/themes/simple/simple.theme.bash b/themes/simple/simple.theme.bash index 6db7f4b44a..4260d5ba28 100644 --- a/themes/simple/simple.theme.bash +++ b/themes/simple/simple.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # prompt themeing diff --git a/themes/tonka/tonka.theme.bash b/themes/tonka/tonka.theme.bash index e97a5712a3..05bcc97858 100644 --- a/themes/tonka/tonka.theme.bash +++ b/themes/tonka/tonka.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash __tonka_time() { THEME_CLOCK_FORMAT="%H%M" diff --git a/themes/tonotdo/tonotdo.theme.bash b/themes/tonotdo/tonotdo.theme.bash index 347e586b05..db774e2941 100644 --- a/themes/tonotdo/tonotdo.theme.bash +++ b/themes/tonotdo/tonotdo.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash SCM_THEME_PROMPT_PREFIX=" ${purple}" SCM_THEME_PROMPT_SUFFIX=" ${normal}" diff --git a/themes/tylenol/tylenol.theme.bash b/themes/tylenol/tylenol.theme.bash index a48dceb416..5b2e38e1e5 100644 --- a/themes/tylenol/tylenol.theme.bash +++ b/themes/tylenol/tylenol.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # # Based on 'bobby' theme with the addition of virtualenv_prompt # diff --git a/themes/wanelo/wanelo.theme.bash b/themes/wanelo/wanelo.theme.bash index 437fd3272b..f666530b21 100644 --- a/themes/wanelo/wanelo.theme.bash +++ b/themes/wanelo/wanelo.theme.bash @@ -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=" |" diff --git a/themes/zitron/zitron.theme.bash b/themes/zitron/zitron.theme.bash index 56b7bfa63a..63b88b9b88 100644 --- a/themes/zitron/zitron.theme.bash +++ b/themes/zitron/zitron.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash # zitron theme by Florian Baumann ## git-theme