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 | |
# compilation-mode compatible spago build output | |
set -eo pipefail | |
root=$(git rev-parse --show-toplevel) | |
PATH=$root/node_modules/.bin:$PATH | |
output=$(spago 3>&2 2>&1 1>&3 --quiet build -u --json-errors || { :; }) | |
n_errors=$(jq <<< "$output" '.errors | length') | |
n_warnings=$(jq <<< "$output" '.warnings | length') |
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 | |
# | |
# Author: Felix Schlitter | |
# Description: | |
# Manage sessions using FZF | |
# | |
# Place this into your .bashrc after installing FZF, | |
# Then update your .tmux.conf and create key-bindings. Example: | |
# | |
# unbind s |
OlderNewer