chore(style): add shebang, set bash strict mode, create function
[webi-installers/.git] / fzf / install.sh
index 6c2145e3fd0a108f9601741c68451c0002d0cf82..eb865770d15a16691fe1e7490392b2c3ee5bbe92 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/bash
+set -e
+set -u
 
-{
-    set -e
-    set -u
+function __init_fzf() {
 
     ###############
     # Install fzf #
@@ -29,3 +29,5 @@
         chmod a+x "$pkg_src_cmd"
     }
 }
+
+__init_fzf