Skip to content

Instantly share code, notes, and snippets.

View ollynevard's full-sized avatar
🧑‍💻
Jack of all trades

Olly Nevard ollynevard

🧑‍💻
Jack of all trades
View GitHub Profile
#!/bin/bash
# Store the current directory
current_directory=$(pwd)
# Setup colours
c_reset='\033[00m'
c_highlight='\033[33m'
echo -e "\n${c_highlight}Pulling in latest changes for all repositories...${c_reset}"
#!/usr/bin/env bash
set -o errexit # Exit on most errors (see the manual)
set -o errtrace # Make sure any error trap is inherited
set -o nounset # Disallow expansion of unset variables
set -o pipefail # Use last non-zero exit code in a pipeline
readonly __blue="\033[36m"
readonly __red="\033[31m"
readonly __reset="\033[0m"