8000 fix(bash): Use '/usr/bin/env bash' in shebang · musq/dotfiles@7b11546 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 7b11546

Browse files
committed
fix(bash): Use '/usr/bin/env bash' in shebang
1 parent 170383c commit 7b11546

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+67
-67
lines changed

src/os/contract/fonts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../utils.sh"

src/os/contract/harden.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../utils.sh"

src/os/contract/main-after.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../utils.sh"

src/os/contract/main-before.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../utils.sh"

src/os/contract/vim.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../utils.sh"

src/os/create_backup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "utils.sh"

src/os/create_directories.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "utils.sh"

src/os/create_local_config_files.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "utils.sh"
@@ -54,7 +54,7 @@ create_bash_local() {
5454
mkdir -p "$(dirname "$FILE_PATH")"
5555

5656
printf "%s" \
57-
"#!/bin/bash
57+
"#!/usr/bin/env bash
5858
5959
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" \
6060
> "$FILE_PATH"

src/os/create_symbolic_links.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "utils.sh"

src/os/initialize_git_repository.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "utils.sh"

src/os/install/helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../utils.sh"

src/os/install/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../utils.sh"

src/os/install/nix/browsers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh" \

src/os/install/nix/build-essentials.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh" \

src/os/install/nix/cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "utils.sh"

src/os/install/nix/downloaders.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh" \

src/os/install/nix/editors.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh" \

src/os/install/nix/fonts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh" \

src/os/install/nix/git.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh" \

src/os/install/nix/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh" \

src/os/install/nix/misc-tools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh" \

src/os/install/nix/misc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh" \

src/os/install/nix/navigators.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh" \

src/os/install/nix/python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh" \

src/os/install/nix/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/install/scripts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../utils.sh"

src/os/preferences/debian/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/debian/privacy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/debian/ui_and_ux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/app_store.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/chrome.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/dashboard.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/dock.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/finder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/keyboard.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/language_and_region.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# shellcheck disable=SC2164
44
cd "$(dirname "${BASH_SOURCE[0]}")"

src/os/preferences/macos/maps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/photos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/safari.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/terminal.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/textedit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/trackpad.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/transmission.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/macos/ui_and_ux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../../utils.sh"

src/os/preferences/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
cd "$(dirname "${BASH_SOURCE[0]}")" \
44
&& . "../utils.sh"

src/os/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
declare -r GITHUB_REPOSITORY="musq/dotfiles"
44

src/os/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
answer_is_yes() {
44
[[ "$REPLY" =~ ^[Yy]$ ]] \

src/shell/aliases/bash_aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Remove all previous environment defined aliases
44
unalias -a

src/shell/aliases/debian/bash_aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
44

src/shell/aliases/macos/bash_aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
44

src/shell/autocomplete/bash_autocomplete

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
if [ -f "autocomplete/$OS/bash_autocomplete" ]; then
44
. "autocomplete/$OS/bash_autocomplete"

src/shell/autocomplete/debian/bash_autocomplete

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# [!] Do not rename this file to `bash_completion`
44
# as it will create an infinite loop!

src/shell/autocomplete/macos/bash_autocomplete

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# [!] Do not rename this file to `bash_completion`
44
# as it will create an infinite loop!

src/shell/bash_exports

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Bash Variables
44
# https://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html

src/shell/bash_functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
44

src/shell/bash_logout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Clear console on exit
44

src/shell/bash_options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Bash options.
44
# https://www.gnu.org/software/bash/manual/bashref.html#The-Shopt-Builtin

src/shell/bash_profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1< 10000 code class="diff-text syntax-highlighted-line deletion">-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
44

src/shell/bash_prompt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
44

src/shell/bashrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
[ -n "$PS1" ] \
44
&& . "$HOME/.bash_profile"

src/shell/colors/bash_colors

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
44

src/shell/colors/debian/bash_colors

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
44

src/shell/colors/macos/bash_colors

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
44

src/shell/inputrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Readline library configuration options.
44
# http://ss64.com/bash/syntax-inputrc.html

0 commit comments

Comments
 (0)
0