11 lines
109 B
Plaintext
11 lines
109 B
Plaintext
|
|
#!/bin/sh
|
||
|
|
|
||
|
|
if [ -n "$1" ]; then
|
||
|
|
touch "$1"
|
||
|
|
chmod +x "$1"
|
||
|
|
vim "$1"
|
||
|
|
else
|
||
|
|
echo "No file specified"
|
||
|
|
exit
|
||
|
|
fi
|