zsh-workers
 help / color / mirror / code / Atom feed
From: eliasghafari <eliasghafari@disroot.org>
To: zsh-workers@zsh.org
Subject: Re: [BUG]Filename autocompletion using git-bare repos (--git-dir=... --work-tree=...)
Date: Tue, 12 Sep 2023 11:54:03 +0300	[thread overview]
Message-ID: <jayiekgd7doualsehpteuujj5cq4g5cuggfj7q72vsxaluacmd@wavkea46lupk> (raw)

After using <C-x ?> instead of <Tab> (Thanks Bart) and looking at the output I found
that:
alias config='git --git-dir ~/.local/share/dotfiles --work-tree ~'
works perfectly.
And Jun T's solution of:
alias config="git --git-dir=$HOME/.local/share/dotfiles --work-tree $HOME"
Also works I never knew that there was a difference between ' and ".

Thanks for the help.


             reply	other threads:[~2023-09-12  8:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-12  8:54 eliasghafari [this message]
2023-09-12  9:34 ` Roman Perepelitsa
2023-09-12 19:25   ` eliasghafari
2023-09-12 19:33     ` Roman Perepelitsa
  -- strict thread matches above, loose matches on Subject: below --
2023-03-09 12:33 eliasghafari
2023-03-09 17:12 ` Bart Schaefer
2023-03-09 19:27 ` Oliver Kiddle
2023-03-10 10:07   ` Elias Ghafari
2023-03-10 10:12     ` Roman Perepelitsa
2023-09-11 15:05       ` Elias Ghafari
2023-09-12  2:26         ` Jun T

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jayiekgd7doualsehpteuujj5cq4g5cuggfj7q72vsxaluacmd@wavkea46lupk \
    --to=eliasghafari@disroot.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).