14 lines
204 B
Plaintext
14 lines
204 B
Plaintext
|
#!/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"
|