14 lines
192 B
Bash
14 lines
192 B
Bash
#!/usr/bin/env bash
|
|
|
|
if [[ -z "$1" ]]; then
|
|
echo "Please enter a repository name"
|
|
exit 1
|
|
fi
|
|
|
|
if [[ ! -d "$1.git" ]]; then
|
|
echo "Repo $1 doesn't exist"
|
|
exit 1
|
|
fi
|
|
|
|
vim "$1.git/description"
|
|
|