diff --git a/home-manager/modules/scripts/ns b/home-manager/modules/scripts/ns new file mode 100755 index 0000000..0b16a8d --- /dev/null +++ b/home-manager/modules/scripts/ns @@ -0,0 +1,13 @@ +#!/usr/bin/env sh + +if [ $# -ne 1 ]; then + echo "Provide a script name" + exit 1 +else + name="$1" +fi + +touch "$name" +chmod +x "$name" +echo "#!/usr/bin/env sh" > "$name" +nvim "+ normal Gzzoo" "$name"