View get_workstation.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# provide evergreen host name as only argument | |
# Returns <user>@<hostname> for the specified host and fails if no host is found | |
USAGE=$(cat << EOM | |
$0 <name> | |
EOM | |
) | |
NAME=$1 | |
if [ -z $NAME ]; then |
View find_todos.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
todo_message="" | |
directory="." | |
has_ripgrep() { | |
which "rg" | grep "not found" | |
case $? in | |
0) # no ripgrep found |