git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/files/git-out
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/files/git-out')
-rw-r--r--ansible/files/git-out41
1 files changed, 41 insertions, 0 deletions
diff --git a/ansible/files/git-out b/ansible/files/git-out
new file mode 100644
index 0000000..2ad2c25
--- /dev/null
+++ b/ansible/files/git-out
@@ -0,0 +1,41 @@
+#!/usr/bin/env bash
+
+# author: Harald Pfeiffer <coding@lirion.de>
+# licence:
+# - LGPLv3
+# - CC-by-SA 4.0
+# (choose whichever fits your needs)
+
+MYVAR=( "MMMMMMWKXWMMMMMMMMMMMMMM: " )
+MYVAR=( "${MYVAR[@]}" "MMMMM: cMMMMMMMMMMMMM: " )
+MYVAR=( "${MYVAR[@]}" "MMMMX XMMMMMMMMMMMM: " )
+MYVAR=( "${MYVAR[@]}" "MMMMMk' 'kMMMMMMMMMMMMM: " )
+MYVAR=( "${MYVAR[@]}" "MMMMMMX:. '0MMM: " )
+MYVAR=( "${MYVAR[@]}" "MMMMWl ''' xMM: " )
+MYVAR=( "${MYVAR[@]}" "NNNO. cMMN. dM: " )
+MYVAR=( "${MYVAR[@]}" " :N0 xMMN' .W: " )
+MYVAR=( "${MYVAR[@]}" "::::oKMMMd 0MMMMMM: " )
+MYVAR=( "${MYVAR[@]}" "MMMMMMMMMM. :MMMMMM: " )
+MYVAR=( "${MYVAR[@]}" "MMMMMMMMMc . .MMMMMM: " )
+MYVAR=( "${MYVAR[@]}" "MMMMMMMMc .N, MMMMMM: " )
+MYVAR=( "${MYVAR[@]}" "MMMMMMMc .NMo OKKKKKd;, " )
+MYVAR=( "${MYVAR[@]}" "MMMMMMc .NMM0 .k " )
+MYVAR=( "${MYVAR[@]}" "MMMMMc .NMMMMxcccccccc:;;lx" )
+MYVAR=( "${MYVAR[@]}" "MMMMc .NMMMMMMMMMMMMMM: " )
+MYVAR=( "${MYVAR[@]}" "MMMc .NMMMMMMMMMMMMMMM: " )
+MYVAR=( "${MYVAR[@]}" "0MM0cclxKMMMMMMMMMMMMMMMd " )
+MYVAR=( "${MYVAR[@]}" " '0MK; .kMMMMMMMMMMMMMMX: " )
+MYVAR=( "${MYVAR[@]}" " .OMX: .xMMMMMMMMMMMMMMX:" )
+
+for loyne in "${MYVAR[@]}";do
+ printf "\\033[1m\\033[48;5;29m %b \\033[0m\\n" "$loyne"
+done
+
+printf "\\n\\033[1;5m\\033[38;5;29m PERFORMING EMERGENCY EXIT \\033[0m\\n"
+sleep 1.337
+if ! logout >/dev/null 2>&1;then
+ SHELLPARENT="$(ps -ef|grep $PPID|awk '{print $3}'|head -n1)"
+ SHELLPPP="$(ps -ef|grep $SHELLPARENT|awk '{print $3}'|head -n1)"
+ kill "$SHELLPPP"
+ exit
+fi