From 4313f890bd2168097e1b63cd7d138418f2200c44 Mon Sep 17 00:00:00 2001 From: Daniel Gray Date: Thu, 14 Nov 2019 10:07:31 +0000 Subject: [PATCH] Don't get people to do #!/bin/bash either use /bin/sh or #!/usr/bin/env bash --- _docs/050_bootstrap.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/_docs/050_bootstrap.md b/_docs/050_bootstrap.md index a4b056c..fb19fee 100644 --- a/_docs/050_bootstrap.md +++ b/_docs/050_bootstrap.md @@ -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"