chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / kubectx / install.sh
index 17b34b8b1c572d9bc3038f50bd721e3c17850515..035a781651aad2b8e2cd1a58c6ab5da7b2c80749 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-{
+function __init_kubectx() {
     set -e
     set -u
 
@@ -34,3 +34,5 @@
     }
 
 }
+
+__init_kubectx