dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 8134bbc39942a297484d2186791ad3b8b3d572e1
parent 6e64c1bf84a73a37d5a8fb901c6e4aff7afae2c5
Author: hhvn <dev@haydenvh.com>
Date:   Mon,  8 Mar 2021 19:48:47 +0000

.c/g/add-commit: remove bug, basename not deleted with multiple files

Diffstat:
M.config/git/add-commit | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.config/git/add-commit b/.config/git/add-commit @@ -36,7 +36,7 @@ done # then format these into the COMMIT_EDITMSG file [ "$shorten" = "y" ] && { - echo "$@:" | sed -E 's~([a-zA-Z])[^/]*/~\1/~g' > .git/COMMIT_EDITMSG + echo "$@:" | sed -E 's~([a-zA-Z])[^ /]*/~\1/~g' > .git/COMMIT_EDITMSG } || echo "$@:" > .git/COMMIT_EDITMSG sum=$(sha256sum .git/COMMIT_EDITMSG) ${EDITOR:-vim} .git/COMMIT_EDITMSG