Update shell script shebangs

While `/bin/bash` is the default in many systems, it cannot be relied
upon for _all_ systems, particularly ones such as MacOS where the
default `/bin/bash` is a very old version. Instead, use the `bash`
executable from the system's PATH.
master
Jordan Atwood 2 years ago
parent 452d9e8c1a
commit 69e21be403
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 2
      setup.sh
  2. 2
      src/.bash_profile
  3. 2
      src/.bashrc

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
# Accept the `--remove` argument to delete symlinks of the files to be copied # Accept the `--remove` argument to delete symlinks of the files to be copied

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
### environment vars ### environment vars
# Ensure $HOME/.bin exists, add it to PATH # Ensure $HOME/.bin exists, add it to PATH

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# If not running interactively, don't do anything # If not running interactively, don't do anything
[ -z "$PS1" ] && return [ -z "$PS1" ] && return

Loading…
Cancel
Save