nixos/home-manager/modules/scripts/ns

14 lines
203 B
Plaintext
Raw Normal View History

#!/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"
2024-03-24 21:25:27 +01:00
nvim "+ normal Gzzo" "$name"