From da5f9d165ee522ef216c2034ed69e378ae2c834a Mon Sep 17 00:00:00 2001 From: Jeremy Frasier Date: Thu, 31 Oct 2024 11:17:02 -0400 Subject: [PATCH] Remove needless shebangs --- bash/.bash_greeter | 1 - bash/.bash_logout | 1 - bash/.bash_profile | 2 -- bash/.bashrc | 2 -- bash/.bashrc.d/aliases | 2 -- bash/.bashrc.d/aws | 2 -- bash/.bashrc.d/cyhy | 2 -- bash/.bashrc.d/gpg | 2 -- bash/.bashrc.d/kerberos | 2 -- bash/.bashrc.d/pip | 2 -- bash/.bashrc.d/prompt | 2 -- bash/.bashrc.d/pyenv | 2 -- bash/.bashrc.d/rsync | 2 -- zsh/.p10k.zsh | 1 - zsh/.zshrc | 2 -- zsh/.zshrc.d/aliases | 2 -- zsh/.zshrc.d/aws | 2 -- zsh/.zshrc.d/cyhy | 2 -- zsh/.zshrc.d/gnu-sed | 2 -- zsh/.zshrc.d/gpg | 2 -- zsh/.zshrc.d/kerberos | 2 -- zsh/.zshrc.d/nvm | 2 -- zsh/.zshrc.d/pip | 2 -- zsh/.zshrc.d/prompt | 2 -- zsh/.zshrc.d/pyenv | 2 -- zsh/.zshrc.d/rsync | 2 -- 26 files changed, 49 deletions(-) diff --git a/bash/.bash_greeter b/bash/.bash_greeter index e08f1b7..b715d5e 100755 --- a/bash/.bash_greeter +++ b/bash/.bash_greeter @@ -1,4 +1,3 @@ -#!/bin/bash # shellcheck disable=SC2034 # Disabled SC2034 to allow colors not currently in use to remain diff --git a/bash/.bash_logout b/bash/.bash_logout index 2c92cf0..06f48a0 100644 --- a/bash/.bash_logout +++ b/bash/.bash_logout @@ -1,2 +1 @@ -#!/bin/bash echo END OF LINE diff --git a/bash/.bash_profile b/bash/.bash_profile index f72a58d..54926de 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -1,5 +1,3 @@ -#!/bin/bash - # Workaround to get macOS to use .bashrc if [[ "$OSTYPE" == "darwin"* ]] && [ -r "$HOME/.bashrc" ]; then # shellcheck source=/dev/null diff --git a/bash/.bashrc b/bash/.bashrc index f245148..d44a9c7 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -1,5 +1,3 @@ -#!/bin/bash - # If not running interactively, don't do anything [[ $- != *i* ]] && return diff --git a/bash/.bashrc.d/aliases b/bash/.bashrc.d/aliases index 84817a7..9cc1c05 100755 --- a/bash/.bashrc.d/aliases +++ b/bash/.bashrc.d/aliases @@ -1,5 +1,3 @@ -#!/bin/bash - # Make some possibly destructive commands more interactive. if [ ${UID} -eq 0 ]; then alias rm='rm -i' diff --git a/bash/.bashrc.d/aws b/bash/.bashrc.d/aws index 29c6a30..a1f53ad 100755 --- a/bash/.bashrc.d/aws +++ b/bash/.bashrc.d/aws @@ -1,3 +1 @@ -#!/bin/bash - export AWS_PROFILE="cool-user" diff --git a/bash/.bashrc.d/cyhy b/bash/.bashrc.d/cyhy index b07c982..a767a28 100755 --- a/bash/.bashrc.d/cyhy +++ b/bash/.bashrc.d/cyhy @@ -1,3 +1 @@ -#!/bin/bash - export CYHY_CONF_DIR=/private/etc/cyhy diff --git a/bash/.bashrc.d/gpg b/bash/.bashrc.d/gpg index 105a345..a02dda8 100755 --- a/bash/.bashrc.d/gpg +++ b/bash/.bashrc.d/gpg @@ -1,5 +1,3 @@ -#!/bin/bash - # From gpg-agent manpage GPG_TTY=$(tty) export GPG_TTY diff --git a/bash/.bashrc.d/kerberos b/bash/.bashrc.d/kerberos index eb5eed9..540537d 100644 --- a/bash/.bashrc.d/kerberos +++ b/bash/.bashrc.d/kerberos @@ -1,4 +1,2 @@ -#!/bin/bash - # Load MIT Kerberos (installed via brew) before the default export PATH="/usr/local/opt/krb5/bin:/usr/local/opt/krb5/sbin:$PATH" diff --git a/bash/.bashrc.d/pip b/bash/.bashrc.d/pip index d0f9199..07193d6 100755 --- a/bash/.bashrc.d/pip +++ b/bash/.bashrc.d/pip @@ -1,4 +1,2 @@ -#!/bin/bash - # pip cache export PIP_DOWNLOAD_CACHE=$HOME/Library/Caches/pip-downloads diff --git a/bash/.bashrc.d/prompt b/bash/.bashrc.d/prompt index 07b934f..8e22251 100755 --- a/bash/.bashrc.d/prompt +++ b/bash/.bashrc.d/prompt @@ -1,5 +1,3 @@ -#!/bin/bash - # Disable SC2034 to allow colors not currently in use to remain # shellcheck disable=SC2034 BLUE=$(tput setaf 4) diff --git a/bash/.bashrc.d/pyenv b/bash/.bashrc.d/pyenv index 58fdd64..2c1fba1 100755 --- a/bash/.bashrc.d/pyenv +++ b/bash/.bashrc.d/pyenv @@ -1,5 +1,3 @@ -#!/bin/bash - # Add pyenv to PATH export PATH="$PATH:$HOME/.pyenv/bin" diff --git a/bash/.bashrc.d/rsync b/bash/.bashrc.d/rsync index adc150d..c6ee3c0 100755 --- a/bash/.bashrc.d/rsync +++ b/bash/.bashrc.d/rsync @@ -1,3 +1 @@ -#!/bin/bash - export RSYNC_RSH=ssh diff --git a/zsh/.p10k.zsh b/zsh/.p10k.zsh index 287b25a..fd4e0f3 100644 --- a/zsh/.p10k.zsh +++ b/zsh/.p10k.zsh @@ -1,4 +1,3 @@ -#!/bin/zsh # Generated by Powerlevel10k configuration wizard on 2020-05-12 at 09:58 EDT. # Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 28636. # Wizard options: compatible, unicode, lean, 1 line, compact, fluent, transient_prompt, diff --git a/zsh/.zshrc b/zsh/.zshrc index acec42c..02850cf 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,5 +1,3 @@ -#!/bin/zsh - # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Initialization code that may require console input (password prompts, [y/n] # confirmations, etc.) must go above this block; everything else may go below. diff --git a/zsh/.zshrc.d/aliases b/zsh/.zshrc.d/aliases index c054f4d..e79c064 100755 --- a/zsh/.zshrc.d/aliases +++ b/zsh/.zshrc.d/aliases @@ -1,5 +1,3 @@ -#!/bin/zsh - # Make some possibly destructive commands more interactive. if [ ${UID} -eq 0 ]; then alias rm='rm -i' diff --git a/zsh/.zshrc.d/aws b/zsh/.zshrc.d/aws index c1db081..a1f53ad 100755 --- a/zsh/.zshrc.d/aws +++ b/zsh/.zshrc.d/aws @@ -1,3 +1 @@ -#!/bin/zsh - export AWS_PROFILE="cool-user" diff --git a/zsh/.zshrc.d/cyhy b/zsh/.zshrc.d/cyhy index 735ca9d..63e37c4 100755 --- a/zsh/.zshrc.d/cyhy +++ b/zsh/.zshrc.d/cyhy @@ -1,5 +1,3 @@ -#!/bin/zsh - # Set up CyHy docker environment variables export CYHY_CONF_DIR=/private/etc/cyhy export CYHY_CORE_IMAGE=ncats/cyhy-core diff --git a/zsh/.zshrc.d/gnu-sed b/zsh/.zshrc.d/gnu-sed index 8fbfed6..7982a49 100644 --- a/zsh/.zshrc.d/gnu-sed +++ b/zsh/.zshrc.d/gnu-sed @@ -1,5 +1,3 @@ -#!/bin/zsh - # Make it so gnu-sed replaces the MacOS version of sed # If not installed, brew install gnu-sed first diff --git a/zsh/.zshrc.d/gpg b/zsh/.zshrc.d/gpg index c0c792c..a02dda8 100755 --- a/zsh/.zshrc.d/gpg +++ b/zsh/.zshrc.d/gpg @@ -1,5 +1,3 @@ -#!/bin/zsh - # From gpg-agent manpage GPG_TTY=$(tty) export GPG_TTY diff --git a/zsh/.zshrc.d/kerberos b/zsh/.zshrc.d/kerberos index cdb50eb..540537d 100644 --- a/zsh/.zshrc.d/kerberos +++ b/zsh/.zshrc.d/kerberos @@ -1,4 +1,2 @@ -#!/bin/zsh - # Load MIT Kerberos (installed via brew) before the default export PATH="/usr/local/opt/krb5/bin:/usr/local/opt/krb5/sbin:$PATH" diff --git a/zsh/.zshrc.d/nvm b/zsh/.zshrc.d/nvm index 91a1751..c7b54aa 100644 --- a/zsh/.zshrc.d/nvm +++ b/zsh/.zshrc.d/nvm @@ -1,5 +1,3 @@ -#!/bin/zsh - # Set up node/NVM export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" diff --git a/zsh/.zshrc.d/pip b/zsh/.zshrc.d/pip index 8853493..905c517 100755 --- a/zsh/.zshrc.d/pip +++ b/zsh/.zshrc.d/pip @@ -1,5 +1,3 @@ -#!/bin/zsh - # Set pip cache export PIP_DOWNLOAD_CACHE=$HOME/Library/Caches/pip-downloads diff --git a/zsh/.zshrc.d/prompt b/zsh/.zshrc.d/prompt index b6e002e..f9c25ae 100755 --- a/zsh/.zshrc.d/prompt +++ b/zsh/.zshrc.d/prompt @@ -1,5 +1,3 @@ -#!/bin/zsh - BLUE=$(tput setaf 4) BRIGHT_GREEN=$(tput setaf 10) BRIGHT_RED=$(tput setaf 196) diff --git a/zsh/.zshrc.d/pyenv b/zsh/.zshrc.d/pyenv index 2ae698e..793e407 100755 --- a/zsh/.zshrc.d/pyenv +++ b/zsh/.zshrc.d/pyenv @@ -1,5 +1,3 @@ -#!/bin/zsh - # Add pyenv to PATH export PATH="$PATH:$HOME/.pyenv/bin" diff --git a/zsh/.zshrc.d/rsync b/zsh/.zshrc.d/rsync index 9fa0d75..c6ee3c0 100755 --- a/zsh/.zshrc.d/rsync +++ b/zsh/.zshrc.d/rsync @@ -1,3 +1 @@ -#!/bin/zsh - export RSYNC_RSH=ssh