Adapt shebangs

Convert all shebangs to /usr/bin/env bash, if bash is really required in
the script. Otherwise convert it to /bin/sh.

/bin/bash is not available on all systems, while /usr/bin/env bash and
/bin/sh are.
This commit is contained in:
Benedikt Heine 2018-05-23 13:33:43 +02:00 committed by Felix Buehler
parent 35d7d39126
commit 16aad7f4c5
12 changed files with 15 additions and 4 deletions

View file

@ -1,4 +1,5 @@
#!/bin/sh
#alias definitions
alias chmox="chmod +x"
alias cd..="cd .."

View file

@ -1,4 +1,5 @@
#!/bin/sh
#correct some fast tipped cds
function c {
if [ $1 == "d.." ]; then

View file

@ -1,2 +1,3 @@
#!/bin/sh
[ -r /etc/profile.d/cnf.sh ] && . /etc/profile.d/cnf.sh

View file

@ -1,3 +1,5 @@
#!/bin/sh
x() {
for zipfile in $*; do
local extractor

View file

@ -1,3 +1,5 @@
#!/bin/sh
#LP_ENABLE_RUNTIME=1
LP_ENABLE_TITLE=1
LP_ENABLE_SSH_COLORS=1

View file

@ -1,4 +1,5 @@
#!/bin/sh
for profile in ~/.profile.d/*.sh; do
if [ -x "$profile" ]; then
source $profile

View file

@ -1,4 +1,5 @@
#!/bin/sh
function set_path(){
if [[ -d "$1" ]]; then
export PATH=$1:$PATH

View file

@ -1,4 +1,5 @@
#!/bin/sh
export EDITOR=vim
export VISUAL=vim
export BROWSER=firefox