1
0
Fork 0
mirror of synced 2024-12-22 14:41:07 -05:00

Don't get people to do #!/bin/bash either use /bin/sh or #!/usr/bin/env bash

This commit is contained in:
Daniel Gray 2019-11-14 10:07:31 +00:00
parent e32521fb5e
commit 4313f890bd
No known key found for this signature in database
GPG key ID: BF05516166C40685

View file

@ -41,7 +41,7 @@ If you've added repositories as submodules for the yadm repository, you can
initialize them after a successful clone.
```bash
#!/bin/bash
#!/bin/sh
# Because Git submodule commands cannot operate without a work tree, they must
# be run from within $HOME (assuming this is the root of your dotfiles)
@ -54,7 +54,7 @@ yadm submodule update --recursive --init
### Install [Homebrew](http://brew.sh/) and a bundle of recipes
```bash
#!/bin/bash
#!/bin/sh
system_type=$(uname -s)
@ -77,7 +77,7 @@ fi
### Configure [iTerm2](http://www.iterm2.com/) to use your configuration
```bash
#!/bin/bash
#!/bin/sh
system_type=$(uname -s)
@ -97,7 +97,7 @@ fi
### Compile a custom terminfo file
```bash
#!/bin/bash
#!/bin/sh
if [ -f "$HOME/.terminfo/custom.terminfo" ]; then
echo "Updating terminfo"
@ -112,7 +112,7 @@ available after cloning. If so, you could update the yadm repo origin to use
`ssh` instead.
```bash
#!/bin/bash
#!/bin/sh
echo "Updating the yadm repo origin URL"
yadm remote set-url origin "git@github.com:MyUser/dotfiles.git"
@ -159,7 +159,7 @@ will install any new plugins, and also remove any plugins now deleted from your
`.vimrc`.
```bash
#!/bin/bash
#!/bin/sh
if command -v vim >/dev/null 2>&1; then
echo "Bootstraping Vim"