chore(style): convert blocks into functions (see #325)

This commit is contained in:
Marcin Woźniak
2021-11-15 21:33:22 +01:00
committed by AJ ONeal
parent 704265583c
commit ca7a838c6f
61 changed files with 244 additions and 140 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
{
function __init_myip() {
set -e
set -u
@@ -10,3 +10,5 @@
"$HOME/.local/bin/myip"
}
__init_myip