1
0
Fork 0

Merging upstream version 0.16.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-11 18:46:39 +01:00
parent 761a845342
commit 6cfcc808bb
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
14 changed files with 83 additions and 889 deletions

View file

@ -3,10 +3,12 @@ _gita_completions()
{
local cur commands repos cmd
local IFS=$'\n\t '
cur=${COMP_WORDS[COMP_CWORD]}
cmd=${COMP_WORDS[1]}
# this doesn't work for two repos with the same basename
#gita_path=${XDG_CONFIG_HOME:-$HOME/.config}/gita/repo_path
#repos=`awk '{split($0, paths, ":")} END {for (i in paths) {n=split(paths[i],b, /\//); print b[n]}}' ${gita_path}`