diff --git a/bin/.local/bin/alm b/bin/.local/bin/alm new file mode 100755 index 0000000..8fd32ee --- /dev/null +++ b/bin/.local/bin/alm @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +ISSUE_ID= + +while read line; do + if [[ "$line" == X-Redmine-Issue-Id:* ]]; then + ISSUE_ID=${line##*: } + fi +done + +if [[ $ISSUE_ID = "" ]]; then + echo No issue id found + exit 2 +else + nohup xdg-open "https://alm.waarp.fr/issues/$ISSUE_ID" 1>/dev/null 2>&1 & +fi diff --git a/bin/.local/bin/git-f b/bin/.local/bin/git-f new file mode 100755 index 0000000..87f1ad5 --- /dev/null +++ b/bin/.local/bin/git-f @@ -0,0 +1,48 @@ +#!/usr/bin/env bash + +#set -x + +usage() { + cat <