diff options
Diffstat (limited to 'scripts/gist')
| -rwxr-xr-x | scripts/gist | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/gist b/scripts/gist index 59fbd06..291e513 100755 --- a/scripts/gist +++ b/scripts/gist | |||
| @@ -37,7 +37,6 @@ | |||
| 37 | # Since now a gist is a local cloned repo | 37 | # Since now a gist is a local cloned repo |
| 38 | # It is your business to do git commit and git push | 38 | # It is your business to do git commit and git push |
| 39 | 39 | ||
| 40 | # TODO test on bats, mac and remote machine | ||
| 41 | currentVersion="1.23.0" | 40 | currentVersion="1.23.0" |
| 42 | configuredClient="" | 41 | configuredClient="" |
| 43 | 42 | ||
| @@ -50,8 +49,8 @@ auto_sync=true # automatically clone the gist repo | |||
| 50 | 49 | ||
| 51 | # Shell configuration | 50 | # Shell configuration |
| 52 | set -o pipefail | 51 | set -o pipefail |
| 53 | [ "$TRACE" ] && set -x | 52 | [[ $TRACE ]] && set -x |
| 54 | [ $(uname) == 'Darwin' ] && alias tac='tail -r' | 53 | [[ $(uname) == 'Darwin' ]] && alias tac='tail -r' |
| 55 | trap 'rm -f "$http_data" "$tmp_file"' EXIT | 54 | trap 'rm -f "$http_data" "$tmp_file"' EXIT |
| 56 | 55 | ||
| 57 | # This function determines which http get tool the system has installed and returns an error if there isnt one | 56 | # This function determines which http get tool the system has installed and returns an error if there isnt one |