#!/usr/bin/env bash

set -e

cat > "$HOME/.config/gita/repo_path" <<EOF
$HOME/archive/src/gentoo,gentoo
$HOME/archive/src/arch-packages,arch-packages
$HOME/archive/src/arch-community,arch-community
$HOME/archive/src/openbsd-ports,openbsd-ports
$HOME/archive/src/freebsd,freebsd
$HOME/src/nixpkgs-master,nixpkgs-master
/home/oleg/src/git.savannah.gnu.org/git/guix,guix
EOF

exec -a "gita" "gita" "$@"
