dev: automated commit

This commit is contained in:
Mariano Z. 2025-12-02 22:05:25 -03:00
parent 29eb7780bd
commit 20eb437d32
Signed by: marianozunino
GPG key ID: 4C73BAD25156DACE
7 changed files with 59 additions and 56 deletions

View file

@ -6,7 +6,7 @@ function dc() {
compdef _dc_completion dc 2>/dev/null
_dc_completion_setup=1
fi
if [[ "$1" == "-h" || "$1" == "--help" ]]; then
echo "Usage: dc [commit_message]"
echo "Quickly commit all changes and push to remote"
@ -111,7 +111,7 @@ function zrepo() {
compdef _zrepo_completion zrepo 2>/dev/null
_zrepo_completion_setup=1
fi
if [[ "$1" == "-h" || "$1" == "--help" ]]; then
echo "Usage: zrepo <repo-name>"
echo "Create a new bare git repository on remote server"
@ -126,8 +126,8 @@ function zrepo() {
fi
local REPO="$1"
local SERVER="git@zvps"
local PATH_ON_SERVER="/var/git/$REPO.git"
local SERVER="git@doom"
local PATH_ON_SERVER="~/$REPO.git"
echo "Creating repository '$REPO' on $SERVER..."