Skip to content

Commit

Permalink
Remove needless shebangs
Browse files Browse the repository at this point in the history
  • Loading branch information
jsf9k committed Oct 31, 2024
1 parent 2b756e9 commit da5f9d1
Show file tree
Hide file tree
Showing 26 changed files with 0 additions and 49 deletions.
1 change: 0 additions & 1 deletion bash/.bash_greeter
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash
# shellcheck disable=SC2034
# Disabled SC2034 to allow colors not currently in use to remain

Expand Down
1 change: 0 additions & 1 deletion bash/.bash_logout
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#!/bin/bash
echo END OF LINE
2 changes: 0 additions & 2 deletions bash/.bash_profile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash

# Workaround to get macOS to use .bashrc
if [[ "$OSTYPE" == "darwin"* ]] && [ -r "$HOME/.bashrc" ]; then
# shellcheck source=/dev/null
Expand Down
2 changes: 0 additions & 2 deletions bash/.bashrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

Expand Down
2 changes: 0 additions & 2 deletions bash/.bashrc.d/aliases
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash

# Make some possibly destructive commands more interactive.
if [ ${UID} -eq 0 ]; then
alias rm='rm -i'
Expand Down
2 changes: 0 additions & 2 deletions bash/.bashrc.d/aws
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#!/bin/bash

export AWS_PROFILE="cool-user"
2 changes: 0 additions & 2 deletions bash/.bashrc.d/cyhy
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#!/bin/bash

export CYHY_CONF_DIR=/private/etc/cyhy
2 changes: 0 additions & 2 deletions bash/.bashrc.d/gpg
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash

# From gpg-agent manpage
GPG_TTY=$(tty)
export GPG_TTY
Expand Down
2 changes: 0 additions & 2 deletions bash/.bashrc.d/kerberos
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 0 additions & 2 deletions bash/.bashrc.d/pip
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/bash

# pip cache
export PIP_DOWNLOAD_CACHE=$HOME/Library/Caches/pip-downloads
2 changes: 0 additions & 2 deletions bash/.bashrc.d/prompt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash

# Disable SC2034 to allow colors not currently in use to remain
# shellcheck disable=SC2034
BLUE=$(tput setaf 4)
Expand Down
2 changes: 0 additions & 2 deletions bash/.bashrc.d/pyenv
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash

# Add pyenv to PATH
export PATH="$PATH:$HOME/.pyenv/bin"

Expand Down
2 changes: 0 additions & 2 deletions bash/.bashrc.d/rsync
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#!/bin/bash

export RSYNC_RSH=ssh
1 change: 0 additions & 1 deletion zsh/.p10k.zsh
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 0 additions & 2 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 0 additions & 2 deletions zsh/.zshrc.d/aliases
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/zsh

# Make some possibly destructive commands more interactive.
if [ ${UID} -eq 0 ]; then
alias rm='rm -i'
Expand Down
2 changes: 0 additions & 2 deletions zsh/.zshrc.d/aws
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#!/bin/zsh

export AWS_PROFILE="cool-user"
2 changes: 0 additions & 2 deletions zsh/.zshrc.d/cyhy
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 0 additions & 2 deletions zsh/.zshrc.d/gnu-sed
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 0 additions & 2 deletions zsh/.zshrc.d/gpg
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/zsh

# From gpg-agent manpage
GPG_TTY=$(tty)
export GPG_TTY
Expand Down
2 changes: 0 additions & 2 deletions zsh/.zshrc.d/kerberos
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 0 additions & 2 deletions zsh/.zshrc.d/nvm
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/zsh

# Set up node/NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
2 changes: 0 additions & 2 deletions zsh/.zshrc.d/pip
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/zsh

# Set pip cache
export PIP_DOWNLOAD_CACHE=$HOME/Library/Caches/pip-downloads

Expand Down
2 changes: 0 additions & 2 deletions zsh/.zshrc.d/prompt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/zsh

BLUE=$(tput setaf 4)
BRIGHT_GREEN=$(tput setaf 10)
BRIGHT_RED=$(tput setaf 196)
Expand Down
2 changes: 0 additions & 2 deletions zsh/.zshrc.d/pyenv
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/zsh

# Add pyenv to PATH
export PATH="$PATH:$HOME/.pyenv/bin"

Expand Down
2 changes: 0 additions & 2 deletions zsh/.zshrc.d/rsync
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#!/bin/zsh

export RSYNC_RSH=ssh

0 comments on commit da5f9d1

Please sign in to comment.