chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / nerdfont / install.sh
index 179d5c060ca1c184bd5a44014b8296cf3691ae8e..5a43965125c0e222c6517e9a2790ef8864bddb29 100644 (file)
@@ -1,4 +1,6 @@
-install() {
+#!/bin/bash
+
+function __init_nerdfont() {
     set -e
     set -u
 
@@ -21,4 +23,4 @@ install() {
     echo "Installed $my_nerdfont to ~/$my_fontdir"
 }
 
-install
+__init_nerdfont