Update scripts.
This commit is contained in:
parent
9eb0fa22a9
commit
614e626902
12 changed files with 201 additions and 101 deletions
13
ns
Executable file
13
ns
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "Provide a script name"
|
||||
exit 1
|
||||
else
|
||||
name="$1"
|
||||
fi
|
||||
|
||||
touch "$name"
|
||||
chmod +x "$name"
|
||||
echo "#!/bin/sh" > "$name"
|
||||
nvim "+ normal Gzzo" "$name"
|
Loading…
Add table
Add a link
Reference in a new issue